-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
142d15b
commit 0072557
Showing
18 changed files
with
450 additions
and
162 deletions.
There are no files selected for viewing
268 changes: 268 additions & 0 deletions
268
.devcontainer/.docker/grafana/dashboards/identigraf.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,268 @@ | ||
{ | ||
"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, | ||
"id": 1, | ||
"links": [], | ||
"liveNow": false, | ||
"panels": [ | ||
{ | ||
"datasource": { | ||
"type": "loki", | ||
"uid": "Ci3V6EWSk" | ||
}, | ||
"fieldConfig": { | ||
"defaults": { | ||
"color": { | ||
"mode": "thresholds" | ||
}, | ||
"custom": { | ||
"align": "auto", | ||
"cellOptions": { | ||
"type": "auto" | ||
}, | ||
"inspect": false | ||
}, | ||
"mappings": [], | ||
"thresholds": { | ||
"mode": "absolute", | ||
"steps": [ | ||
{ | ||
"color": "green", | ||
"value": null | ||
} | ||
] | ||
} | ||
}, | ||
"overrides": [] | ||
}, | ||
"gridPos": { | ||
"h": 8, | ||
"w": 24, | ||
"x": 0, | ||
"y": 0 | ||
}, | ||
"id": 2, | ||
"options": { | ||
"cellHeight": "sm", | ||
"footer": { | ||
"countRows": false, | ||
"fields": "", | ||
"reducer": [ | ||
"sum" | ||
], | ||
"show": false | ||
}, | ||
"showHeader": true, | ||
"sortBy": [ | ||
{ | ||
"displayName": "Time", | ||
"desc": true | ||
} | ||
] | ||
}, | ||
"pluginVersion": "10.1.4", | ||
"targets": [ | ||
{ | ||
"datasource": { | ||
"type": "loki", | ||
"uid": "Ci3V6EWSk" | ||
}, | ||
"editorMode": "builder", | ||
"expr": "{job=\"psb-api-identigraf\"}", | ||
"queryType": "range", | ||
"refId": "A" | ||
} | ||
], | ||
"title": "Logs", | ||
"transformations": [ | ||
{ | ||
"id": "extractFields", | ||
"options": { | ||
"format": "json", | ||
"source": "Line" | ||
} | ||
}, | ||
{ | ||
"id": "extractFields", | ||
"options": { | ||
"source": "attributes" | ||
} | ||
}, | ||
{ | ||
"id": "extractFields", | ||
"options": { | ||
"format": "json", | ||
"source": "resources" | ||
} | ||
}, | ||
{ | ||
"id": "organize", | ||
"options": { | ||
"excludeByName": { | ||
"Line": true, | ||
"attributes": true, | ||
"flags": true, | ||
"host.arch": true, | ||
"host.name": true, | ||
"id": true, | ||
"instrumentation_scope": true, | ||
"labels": true, | ||
"os.type": true, | ||
"process.command": true, | ||
"process.command_args": true, | ||
"process.executable.name": true, | ||
"process.executable.path": true, | ||
"process.owner": true, | ||
"process.pid": true, | ||
"process.runtime.description": true, | ||
"process.runtime.name": true, | ||
"process.runtime.version": true, | ||
"resources": true, | ||
"telemetry.sdk.language": true, | ||
"telemetry.sdk.name": true, | ||
"telemetry.sdk.version": true, | ||
"tsNs": true | ||
}, | ||
"indexByName": { | ||
"labels": 0, | ||
"Time": 1, | ||
"severity": 2, | ||
"Line": 3, | ||
"tsNs": 4, | ||
"id": 5, | ||
"ip": 6, | ||
"request": 7, | ||
"body": 8, | ||
"req-id": 9, | ||
"traceid": 10, | ||
"spanid": 11, | ||
"flags": 12, | ||
"resources": 13, | ||
"instrumentation_scope": 14, | ||
"attributes": 15, | ||
"container.id": 16, | ||
"host.arch": 17, | ||
"host.name": 18, | ||
"os.type": 19, | ||
"process.command": 20, | ||
"process.command_args": 21, | ||
"process.executable.name": 22, | ||
"process.executable.path": 23, | ||
"process.owner": 24, | ||
"process.pid": 25, | ||
"process.runtime.description": 26, | ||
"process.runtime.name": 27, | ||
"process.runtime.version": 28, | ||
"service.name": 29, | ||
"service.version": 30, | ||
"telemetry.sdk.language": 31, | ||
"telemetry.sdk.name": 32, | ||
"telemetry.sdk.version": 33 | ||
}, | ||
"renameByName": {} | ||
} | ||
} | ||
], | ||
"type": "table" | ||
}, | ||
{ | ||
"datasource": { | ||
"type": "jaeger", | ||
"uid": "C_3xksWIz" | ||
}, | ||
"fieldConfig": { | ||
"defaults": { | ||
"color": { | ||
"mode": "thresholds" | ||
}, | ||
"custom": { | ||
"align": "auto", | ||
"cellOptions": { | ||
"type": "auto" | ||
}, | ||
"filterable": true, | ||
"inspect": true | ||
}, | ||
"mappings": [], | ||
"thresholds": { | ||
"mode": "absolute", | ||
"steps": [ | ||
{ | ||
"color": "green", | ||
"value": null | ||
} | ||
] | ||
} | ||
}, | ||
"overrides": [] | ||
}, | ||
"gridPos": { | ||
"h": 8, | ||
"w": 12, | ||
"x": 0, | ||
"y": 8 | ||
}, | ||
"id": 1, | ||
"options": { | ||
"cellHeight": "sm", | ||
"footer": { | ||
"countRows": false, | ||
"fields": "", | ||
"reducer": [ | ||
"sum" | ||
], | ||
"show": false | ||
}, | ||
"showHeader": true | ||
}, | ||
"pluginVersion": "10.1.4", | ||
"targets": [ | ||
{ | ||
"datasource": { | ||
"type": "jaeger", | ||
"uid": "C_3xksWIz" | ||
}, | ||
"queryType": "search", | ||
"refId": "A", | ||
"service": "psb-api-identigraf" | ||
} | ||
], | ||
"title": "Traces", | ||
"type": "table" | ||
} | ||
], | ||
"refresh": "1m", | ||
"schemaVersion": 38, | ||
"style": "dark", | ||
"tags": [], | ||
"templating": { | ||
"list": [] | ||
}, | ||
"time": { | ||
"from": "now-6h", | ||
"to": "now" | ||
}, | ||
"timepicker": {}, | ||
"timezone": "", | ||
"title": "IDentigraF", | ||
"uid": "ceb959ce-0014-4598-b861-9a4f0be4c1fe", | ||
"version": 3, | ||
"weekStart": "" | ||
} |
9 changes: 9 additions & 0 deletions
9
.devcontainer/.docker/grafana/provisioning/dashboards/dashboards.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
apiVersion: 1 | ||
|
||
providers: | ||
- name: Prometheus | ||
orgId: 1 | ||
folder: "" | ||
type: file | ||
options: | ||
path: /var/lib/grafana/dashboards |
37 changes: 37 additions & 0 deletions
37
.devcontainer/.docker/grafana/provisioning/datasources/datasource.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
apiVersion: 1 | ||
|
||
datasources: | ||
- name: VictoriaMetrics | ||
type: prometheus | ||
uid: 55HH1PZIk | ||
access: proxy | ||
url: http://victoriametrics:8428 | ||
isDefault: true | ||
|
||
- name: Loki | ||
type: loki | ||
uid: Ci3V6EWSk | ||
access: proxy | ||
url: http://loki:3100 | ||
isDefault: false | ||
|
||
- name: Jaeger | ||
type: jaeger | ||
uid: C_3xksWIz | ||
access: proxy | ||
url: http://jaeger:16686 | ||
isDefault: false | ||
jsonData: | ||
tracesToLogsV2: | ||
customQuery: true | ||
datasourceUid: Ci3V6EWSk | ||
filterBySpanID: false | ||
filterByTraceID: false | ||
query: "{job=\"psb-api-identigraf\"} | json | spanid = `$${__span.spanId}`" | ||
tags: [] | ||
spanStartTimeShift: '1h' | ||
spanEndTimeShift: '-1h' | ||
nodeGraph: | ||
enabled: true | ||
spanBar: | ||
type: Duration |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
41 changes: 0 additions & 41 deletions
41
.devcontainer/.docker/identigraf/rootfs/etc/nginx/http.d/default.conf
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Empty file.
12 changes: 0 additions & 12 deletions
12
.devcontainer/.docker/identigraf/rootfs/etc/sv/identigraf/run
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.