Выполнить лабораторную 7 по безопасности мессенджера

This commit is contained in:
2026-12-04 23:51:24 +03:00
parent 20afc2c790
commit 65bbf3224a
86 changed files with 6376 additions and 144 deletions
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,7 @@
apiVersion: 1
providers:
- name: lab
type: file
folder: ЛР7
options:
path: /var/lib/grafana/dashboards
@@ -0,0 +1,54 @@
apiVersion: 1
datasources:
- name: Prometheus
uid: prometheus
type: prometheus
url: https://prometheus:9090
isDefault: true
secureJsonData:
tlsCACert: $LAB_TLS_CA
tlsClientCert: $LAB_TLS_CERT
tlsClientKey: $LAB_TLS_KEY
jsonData:
tlsAuth: true
tlsAuthWithCACert: true
httpMethod: GET
timeInterval: 3s
manageAlerts: false
- name: Loki
uid: loki
type: loki
url: https://loki:3100
secureJsonData:
tlsCACert: $LAB_TLS_CA
tlsClientCert: $LAB_TLS_CERT
tlsClientKey: $LAB_TLS_KEY
jsonData:
tlsAuth: true
tlsAuthWithCACert: true
derivedFields:
- name: Trace
matcherType: label
matcherRegex: trace_id
datasourceUid: tempo
url: '$${__value.raw}'
urlDisplayLabel: View trace
- name: Tempo
uid: tempo
type: tempo
url: https://tempo:3200
secureJsonData:
tlsCACert: $LAB_TLS_CA
tlsClientCert: $LAB_TLS_CERT
tlsClientKey: $LAB_TLS_KEY
jsonData:
tlsAuth: true
tlsAuthWithCACert: true
tracesToLogsV2:
datasourceUid: loki
spanStartTimeShift: '-5s'
spanEndTimeShift: '5s'
customQuery: true
query: '{service_name=~"messenger-api|messenger-worker"} | trace_id = "$${__span.traceId}"'
nodeGraph:
enabled: true