diff --git a/.gitignore b/.gitignore index e99d2bf..fa79e6e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,4 @@ -license.mattermost -license.txt +license* ## Ignoring keycloak so it can be pulled already setup. volumes @@ -13,3 +12,8 @@ files/postgres/replica/replica_1_postgres.conf files/postgres/replica/replica_2.conf files/postgres/replica/replica_2_postgres.conf + +**/.claude/settings.local.json + +*_backup.json +*.log \ No newline at end of file diff --git a/Makefile b/Makefile index 55fb381..82cb333 100644 --- a/Makefile +++ b/Makefile @@ -36,7 +36,7 @@ run: run-core: @echo "Starting the core services... hang in there." - @docker-compose up -d postgres openldap prometheus grafana elasticsearch mattermost keycloak mitmproxy + @docker-compose up -d postgres openldap prometheus grafana elasticsearch mattermost keycloak loki promtail run-db-replicas: @echo "Starting with replicas. Hang in there..." @@ -93,6 +93,14 @@ restart-mattermost: @docker start cs-repro-mattermost @make check-mattermost +restart-grafana: + @echo "Restarting Grafana container" + @docker stop cs-repro-grafana + @wait + @echo "Starting Grafana container" + @docker start cs-repro-grafana + @echo "Grafana restarted" + reset: @echo "Resetting..." @make delete-data diff --git a/docker-compose.yml b/docker-compose.yml index b2d6c52..681aa6d 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -46,6 +46,30 @@ services: volumes: - ./files/prometheus.yml:/etc/prometheus/prometheus.yml:ro - ./volumes/prometheus:/prometheus + loki: + container_name: cs-repro-loki + image: grafana/loki:3.2.2 + restart: unless-stopped + ports: + - 3100:3100 + volumes: + - ./files/loki:/etc/loki + - ./volumes/logs-node-1:/logs/node-1 + - ./volumes/logs-node-2:/logs/node-2 + command: -config.file=/etc/loki/loki-config.yaml + promtail: + container_name: cs-repro-promtail + image: grafana/promtail:3.2.2 + restart: unless-stopped + ports: + - 9080:9080 + volumes: + - ./files/promtail:/etc/promtail + - ./volumes/logs-node-1:/logs-node-1 + - ./volumes/logs-node-2:/logs-node-2 + command: -config.file=/etc/promtail/promtail-config.yaml + depends_on: + - loki grafana: container_name: cs-repro-grafana image: grafana/grafana:10.0.4 @@ -68,7 +92,7 @@ services: condition: service_healthy mitmproxy: condition: service_started - image: mattermost/mattermost-enterprise-edition:release-9.11 + image: mattermost/mattermost-enterprise-edition:10.7 restart: unless-stopped security_opt: - no-new-privileges:true @@ -82,7 +106,7 @@ services: volumes: - ./volumes/mattermost/config:/mattermost/config:rw - ./volumes/mattermost/data:/mattermost/data:rw - - ./volumes/mattermost/logs:/mattermost/logs:rw + - ./volumes/logs-node-1:/mattermost/logs:rw - ./volumes/mattermost/plugins:/mattermost/plugins:rw - ./volumes/mattermost/client/plugins:/mattermost/client/plugins:rw - ./volumes/mattermost/bleve-indexes:/mattermost/bleve-indexes:rw @@ -99,6 +123,7 @@ services: - MM_ServiceSettings_EnableLocalMode=true - MM_ServiceSettings_LocalModeSocketLocation=/var/tmp/mattermost_local.socket - MM_ServiceSettings_LicenseFileLocation=/mattermost/config/license.mattermost-enterprise + - MM_LogSettings_Directory= ## mysql Settings # - MM_SqlSettings_DriverName=mysql @@ -109,8 +134,7 @@ services: keycloak: container_name: cs-repro-keycloak restart: unless-stopped - platform: linux/amd64 - image: quay.io/keycloak/keycloak:18.0.0 + image: quay.io/keycloak/keycloak:18.0 volumes: - ./volumes/keycloak:/opt/keycloak/data:rw environment: @@ -201,7 +225,7 @@ services: condition: service_healthy mitmproxy: condition: service_started - image: mattermost/mattermost-enterprise-edition:release-9.7 + image: mattermost/mattermost-enterprise-edition:10.7 restart: unless-stopped security_opt: - no-new-privileges:true @@ -215,7 +239,7 @@ services: volumes: - ./volumes/mattermost/config:/mattermost/config:rw - ./volumes/mattermost/data:/mattermost/data:rw - - ./volumes/mattermost_2/logs:/mattermost/logs:rw + - ./volumes/logs-node-2:/mattermost-1/logs:rw - ./volumes/mattermost_2/plugins:/mattermost/plugins:rw - ./volumes/mattermost_2/client/plugins:/mattermost/client/plugins:rw - ./volumes/mattermost_2/bleve-indexes:/mattermost/bleve-indexes:rw @@ -236,6 +260,7 @@ services: - MM_ServiceSettings_EnableLocalMode=true - MM_ServiceSettings_LocalModeSocketLocation=/var/tmp/mattermost_local.socket - MM_ServiceSettings_LicenseFileLocation=/mattermost/config/license.mattermost-enterprise + - MM_LogSettings_Directory=/mattermost/logs mattermost-rtcd: container_name: cs-repro-mattermost-rtcd platform: linux/amd64 @@ -257,12 +282,7 @@ services: container_name: cs-repro-mitmproxy image: mitmproxy/mitmproxy command: mitmweb --web-host 0.0.0.0 --set confdir=/certs --mode transparent - volumes: - - ./files/mitmproxy:/certs - ports: - - "8180:8080" - - "8181:8081" - restart: unless-stopped +# Named volumes section is removed since we're using host path mounts # mysql: # container_name: cs-repro-mysql # image: mysql:8 @@ -288,4 +308,4 @@ services: # # Where our data will be persisted # volumes: # - ./volumes/db/mysql:/var/lib/mysql - \ No newline at end of file + diff --git a/files/.DS_Store b/files/.DS_Store deleted file mode 100644 index 0d27ff9..0000000 Binary files a/files/.DS_Store and /dev/null differ diff --git a/files/grafana/dashboards/enhanced_logs.json b/files/grafana/dashboards/enhanced_logs.json new file mode 100644 index 0000000..e82788c --- /dev/null +++ b/files/grafana/dashboards/enhanced_logs.json @@ -0,0 +1,827 @@ +{ + "annotations": { + "list": [ + { + "builtIn": 1, + "datasource": { + "type": "grafana", + "uid": "-- Grafana --" + }, + "enable": true, + "hide": true, + "iconColor": "rgba(0, 211, 255, 1)", + "name": "Annotations & Alerts", + "type": "dashboard" + } + ] + }, + "editable": true, + "fiscalYearStartMonth": 0, + "graphTooltip": 0, + "links": [], + "liveNow": false, + "panels": [ + { + "datasource": { + "type": "loki", + "uid": "${DS_LOKI}" + }, + "gridPos": { + "h": 12, + "w": 24, + "x": 0, + "y": 0 + }, + "id": 7, + "options": { + "dedupStrategy": "none", + "enableLogDetails": true, + "prettifyLogMessage": false, + "showCommonLabels": false, + "showLabels": true, + "showTime": true, + "sortOrder": "Descending", + "wrapLogMessage": false + }, + "targets": [ + { + "datasource": { + "type": "loki", + "uid": "${DS_LOKI}" + }, + "editorMode": "builder", + "expr": "{filename=~\"/logs-node-.*/(mattermost|advancedLogs).log\"} | json | level=~\"${log_level}\" | line_format \"{{.level}} [{{.caller}}] {{.msg}}\"", + "queryType": "range", + "refId": "A" + } + ], + "title": "Filtered Logs", + "type": "logs" + }, + { + "datasource": { + "type": "loki", + "uid": "${DS_LOKI}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 20, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "smooth", + "lineWidth": 2, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + } + ] + }, + "unit": "short" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 24, + "x": 0, + "y": 12 + }, + "id": 1, + "options": { + "legend": { + "calcs": [ + "sum" + ], + "displayMode": "table", + "placement": "right", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "desc" + } + }, + "targets": [ + { + "datasource": { + "type": "loki", + "uid": "${DS_LOKI}" + }, + "editorMode": "code", + "expr": "sum(count_over_time({filename=~\"/logs-node-.*/(mattermost|advancedLogs).log\"} | json | level=~\"(debug|info|warn|error)\" [$__interval])) by (level)", + "legendFormat": "{{level}}", + "queryType": "range", + "refId": "A" + } + ], + "title": "Log Levels Over Time", + "type": "timeseries" + }, + { + "datasource": { + "type": "loki", + "uid": "${DS_LOKI}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "yellow", + "value": 5 + }, + { + "color": "red", + "value": 10 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 4, + "x": 0, + "y": 20 + }, + "id": 2, + "options": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "textMode": "auto" + }, + "pluginVersion": "10.0.4", + "targets": [ + { + "datasource": { + "type": "loki", + "uid": "${DS_LOKI}" + }, + "editorMode": "code", + "expr": "sum(count_over_time({filename=~\"/logs-node-.*/(mattermost|advancedLogs).log\"} | json | level=\"error\" [$__range]))", + "queryType": "instant", + "refId": "A" + } + ], + "title": "Error Count", + "type": "stat" + }, + { + "datasource": { + "type": "loki", + "uid": "${DS_LOKI}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "yellow", + "value": 10 + }, + { + "color": "red", + "value": 20 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 4, + "x": 4, + "y": 20 + }, + "id": 3, + "options": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "textMode": "auto" + }, + "pluginVersion": "10.0.4", + "targets": [ + { + "datasource": { + "type": "loki", + "uid": "${DS_LOKI}" + }, + "editorMode": "code", + "expr": "sum(count_over_time({filename=~\"/logs-node-.*/(mattermost|advancedLogs).log\"} | json | level=\"warn\" [$__range]))", + "queryType": "instant", + "refId": "A" + } + ], + "title": "Warning Count", + "type": "stat" + }, + { + "datasource": { + "type": "loki", + "uid": "${DS_LOKI}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 4, + "x": 8, + "y": 20 + }, + "id": 4, + "options": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "textMode": "auto" + }, + "pluginVersion": "10.0.4", + "targets": [ + { + "datasource": { + "type": "loki", + "uid": "${DS_LOKI}" + }, + "editorMode": "code", + "expr": "sum(count_over_time({filename=~\"/logs-node-.*/(mattermost|advancedLogs).log\"} | json | level=\"info\" [$__range]))", + "queryType": "instant", + "refId": "A" + } + ], + "title": "Info Count", + "type": "stat" + }, + { + "datasource": { + "type": "loki", + "uid": "${DS_LOKI}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "blue", + "value": null + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 5, + "x": 12, + "y": 20 + }, + "id": 9, + "options": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "textMode": "auto" + }, + "pluginVersion": "10.0.4", + "targets": [ + { + "datasource": { + "type": "loki", + "uid": "${DS_LOKI}" + }, + "editorMode": "code", + "expr": "sum(count_over_time({filename=~\"/logs-node-.*/(mattermost|advancedLogs).log\"} | json | level=\"debug\" [$__range]))", + "queryType": "instant", + "refId": "A" + } + ], + "title": "Debug Count", + "type": "stat" + }, + { + "datasource": { + "type": "loki", + "uid": "${DS_LOKI}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + } + }, + "mappings": [] + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 7, + "x": 17, + "y": 20 + }, + "id": 6, + "options": { + "displayLabels": [ + "name", + "percent" + ], + "legend": { + "displayMode": "table", + "placement": "right", + "showLegend": true, + "values": [ + "value" + ] + }, + "pieType": "pie", + "reduceOptions": { + "calcs": [ + "sum" + ], + "fields": "", + "values": false + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "loki", + "uid": "${DS_LOKI}" + }, + "editorMode": "code", + "expr": "sum by(level) (count_over_time({filename=~\"/logs-node-.*/(mattermost|advancedLogs).log\"} | json [30m]))", + "legendFormat": "{{level}}", + "queryType": "range", + "refId": "A" + } + ], + "title": "Log Level Distribution", + "type": "piechart" + }, + { + "datasource": { + "type": "loki", + "uid": "${DS_LOKI}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "custom": { + "align": "auto", + "cellOptions": { + "type": "auto" + }, + "inspect": false + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "count" + }, + "properties": [ + { + "id": "custom.width", + "value": 80 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "component" + }, + "properties": [ + { + "id": "custom.width", + "value": 200 + } + ] + } + ] + }, + "gridPos": { + "h": 9, + "w": 12, + "x": 0, + "y": 28 + }, + "id": 5, + "options": { + "cellHeight": "sm", + "footer": { + "countRows": false, + "fields": "", + "reducer": [ + "sum" + ], + "show": false + }, + "showHeader": true + }, + "pluginVersion": "10.0.4", + "targets": [ + { + "datasource": { + "type": "loki", + "uid": "${DS_LOKI}" + }, + "editorMode": "code", + "expr": "topk(10, sum by(caller) (count_over_time({filename=~\"/logs-node-.*/(mattermost|advancedLogs).log\"} | json | level=~\"warn|error\" [30m])))", + "legendFormat": "{{caller}}", + "queryType": "range", + "refId": "A" + } + ], + "title": "Top 10 Error Sources (30m)", + "transformations": [ + { + "id": "reduce", + "options": { + "includeTimeField": false, + "mode": "reduceFields", + "reducers": [ + "sum" + ] + } + }, + { + "id": "organize", + "options": { + "excludeByName": {}, + "indexByName": {}, + "renameByName": { + "Field": "component", + "Value": "count" + } + } + }, + { + "id": "sortBy", + "options": { + "fields": {}, + "sort": [ + { + "desc": true, + "field": "count" + } + ] + } + } + ], + "type": "table" + }, + { + "datasource": { + "type": "loki", + "uid": "${DS_LOKI}" + }, + "description": "Displays errors grouped by error message", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "custom": { + "align": "auto", + "cellOptions": { + "type": "auto" + }, + "filterable": true, + "inspect": false + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Count" + }, + "properties": [ + { + "id": "custom.width", + "value": 80 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Error Message" + }, + "properties": [ + { + "id": "custom.width", + "value": 500 + } + ] + } + ] + }, + "gridPos": { + "h": 9, + "w": 12, + "x": 12, + "y": 28 + }, + "id": 8, + "options": { + "cellHeight": "sm", + "footer": { + "countRows": false, + "fields": "", + "reducer": [ + "sum" + ], + "show": false + }, + "showHeader": true, + "sortBy": [ + { + "desc": true, + "displayName": "Count" + } + ] + }, + "pluginVersion": "10.0.4", + "targets": [ + { + "datasource": { + "type": "loki", + "uid": "${DS_LOKI}" + }, + "editorMode": "code", + "expr": "topk(10, sum by(error) (count_over_time({filename=~\"/logs-node-.*/(mattermost|advancedLogs).log\"} | json | level=\"error\" [30m])))", + "queryType": "range", + "refId": "A" + } + ], + "title": "Top 10 Error Messages", + "transformations": [ + { + "id": "reduce", + "options": { + "includeTimeField": false, + "mode": "reduceFields", + "reducers": [ + "sum" + ] + } + }, + { + "id": "organize", + "options": { + "excludeByName": {}, + "indexByName": {}, + "renameByName": { + "Field": "Error Message", + "Value": "Count" + } + } + } + ], + "type": "table" + } + ], + "refresh": "10s", + "schemaVersion": 38, + "style": "dark", + "tags": [ + "mattermost", + "logs" + ], + "templating": { + "list": [ + { + "current": { + "selected": false, + "text": "loki", + "value": "loki" + }, + "hide": 0, + "includeAll": false, + "label": "Datasource", + "multi": false, + "name": "DS_LOKI", + "options": [], + "query": "loki", + "queryValue": "", + "refresh": 1, + "regex": "", + "skipUrlSync": false, + "type": "datasource" + }, + { + "current": { + "selected": true, + "text": [ + "info", + "warn", + "error", + "debug" + ], + "value": [ + "info", + "warn", + "error", + "debug" + ] + }, + "hide": 0, + "includeAll": true, + "label": "Log Level", + "multi": true, + "name": "log_level", + "options": [ + { + "selected": false, + "text": "All", + "value": "$__all" + }, + { + "selected": true, + "text": "debug", + "value": "debug" + }, + { + "selected": true, + "text": "info", + "value": "info" + }, + { + "selected": true, + "text": "warn", + "value": "warn" + }, + { + "selected": true, + "text": "error", + "value": "error" + } + ], + "query": "debug,info,warn,error", + "queryValue": "", + "skipUrlSync": false, + "type": "custom" + } + ] + }, + "time": { + "from": "now-1h", + "to": "now" + }, + "timepicker": {}, + "timezone": "", + "title": "Mattermost Enhanced Logs", + "uid": "mattermost-logs", + "version": 2, + "weekStart": "" +} \ No newline at end of file diff --git a/files/grafana/provisioning/datasources/automatic.yml b/files/grafana/provisioning/datasources/automatic.yml index fcfac65..11ba2d6 100644 --- a/files/grafana/provisioning/datasources/automatic.yml +++ b/files/grafana/provisioning/datasources/automatic.yml @@ -1,17 +1,31 @@ apiVersion: 1 datasources: -- name: mattermost - type: prometheus - access: proxy - url: http://prometheus:9090 - password: - user: - database: - isDefault: true - jsonData: - tlsAuth: false - tlsAuthWithCACert: false - httpMethod: "POST" - version: 1 - editable: true \ No newline at end of file + - name: mattermost + type: prometheus + access: proxy + url: http://prometheus:9090 + password: + user: + database: + isDefault: true + jsonData: + tlsAuth: false + tlsAuthWithCACert: false + httpMethod: "POST" + version: 1 + editable: true + - name: loki + type: loki + access: proxy + url: http://loki:3100 + password: + user: + database: + isDefault: false + jsonData: + tlsAuth: false + tlsAuthWithCACert: false + httpMethod: "POST" + version: 1 + editable: true diff --git a/files/loki/loki-config.yaml b/files/loki/loki-config.yaml new file mode 100644 index 0000000..e448dfd --- /dev/null +++ b/files/loki/loki-config.yaml @@ -0,0 +1,50 @@ +auth_enabled: false + +server: + http_listen_port: 3100 + grpc_listen_port: 9096 + +common: + instance_addr: 127.0.0.1 + path_prefix: /tmp/loki + storage: + filesystem: + chunks_directory: /tmp/loki/chunks + rules_directory: /tmp/loki/rules + replication_factor: 1 + ring: + kvstore: + store: inmemory + +query_range: + results_cache: + cache: + embedded_cache: + enabled: true + max_size_mb: 100 + +schema_config: + configs: + - from: 2020-10-24 + store: tsdb + object_store: filesystem + schema: v13 + index: + prefix: index_ + period: 24h + +ruler: + alertmanager_url: http://localhost:9093 + +# By default, Loki will send anonymous, but uniquely-identifiable usage and configuration +# analytics to Grafana Labs. These statistics are sent to https://stats.grafana.org/ +# +# Statistics help us better understand how Loki is used, and they show us performance +# levels for most users. This helps us prioritize features and documentation. +# For more information on what's sent, look at +# https://github.com/grafana/loki/blob/main/pkg/analytics/stats.go +# Refer to the buildReport method to see what goes into a report. +# +# If you would like to disable reporting, uncomment the following lines: +#analytics: +# reporting_enabled: false diff --git a/files/promtail/promtail-config.yaml b/files/promtail/promtail-config.yaml new file mode 100644 index 0000000..78a7ad1 --- /dev/null +++ b/files/promtail/promtail-config.yaml @@ -0,0 +1,41 @@ +server: + http_listen_port: 9080 + grpc_listen_port: 0 + +positions: + filename: /tmp/positions.yaml + +clients: + - url: http://loki:3100/loki/api/v1/push + +scrape_configs: +- job_name: mmlogs-1 + static_configs: + - targets: + - localhost + labels: + job: mmlogs-1 + __path__: /logs-node-1/*.log +- job_name: mmlogs-2 + static_configs: + - targets: + - localhost + labels: + job: mmlogs-2 + __path__: /logs-node-2/*.log +- job_name: mmlogs-local-1 + static_configs: + - targets: + - localhost + labels: + job: mmlogs-local-1 + __path__: /logs-local-1/*.log +- job_name: mmlogs-local-2 + static_configs: + - targets: + - localhost + labels: + job: mmlogs-local-2 + __path__: /logs-local-2/*.log + + diff --git a/scripts/general.sh b/scripts/general.sh index 94d7601..2d33a6e 100755 --- a/scripts/general.sh +++ b/scripts/general.sh @@ -9,6 +9,8 @@ logins () { echo " - All Mattermost Grafana charts are setup." echo " - For more info https://github.com/coltoneshaw/CS-Repro-Mattermost#use-grafana" echo "- Prometheus: http://localhost:9090" + echo "- Loki: http://localhost:3100/ready" + echo "- Promtail: http://localhost:9080" echo "- PostgreSQL" "localhost:5432" with 'mmuser' / 'mmuser_password' echo echo ===========================================================