Merge commit 'cfaf67010017eab368216aded483a64126dbcb2e' as 'bahn/wissensdatenbank'
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
---
|
||||
domain: "pathos"
|
||||
tool: "pathos"
|
||||
scope: "intern"
|
||||
tags: ["domain:pathos", "tool:pathos", "scope:intern", "pathos"]
|
||||
owners: ["einfachbahn@deutschebahn.com"]
|
||||
component_type: "page"
|
||||
source: "confluence"
|
||||
source_version: "2"
|
||||
url: "https://arija-confluence.jaas.service.deutschebahn.com/pages/509061534"
|
||||
last_updated: "2026-06-26"
|
||||
review_status: "approved"
|
||||
review_notes: ""
|
||||
content_hash: "fd425761ac4e9021"
|
||||
contact: "einfachbahn@deutschebahn.com"
|
||||
meta_fingerprint: "6e059c8d8e5c1a8a"
|
||||
---
|
||||
|
||||
Beispiel [Grafana Link](https://grafana-v2.cnp.comp.db.de/explore?schemaVersion=1&panes=%7B%2257n%22%3A%7B%22datasource%22%3A%22f02a916b-ee29-4a83-979f-1a960f352bb3%22%2C%22queries%22%3A%5B%7B%22refId%22%3A%22A%22%2C%22expr%22%3A%22%7Bcontainer%3D%5C%22app%5C%22%2Cpod%3D%7E%5C%22abn1-.*%5C%22%7D+%7C%3D+%5C%22xy%5C%22%22%2C%22queryType%22%3A%22range%22%2C%22datasource%22%3A%7B%22type%22%3A%22loki%22%2C%22uid%22%3A%22f02a916b-ee29-4a83-979f-1a960f352bb3%22%7D%2C%22editorMode%22%3A%22code%22%7D%5D%2C%22range%22%3A%7B%22from%22%3A%22now-12h%22%2C%22to%22%3A%22now%22%7D%7D%7D&orgId=98)
|
||||
|
||||
Query =_{container="app",pod=~"abn1-.*"} |= "xy"_
|
||||
|
||||
* xy mit bspw. einer ID (PAID, PRID, traceId, UUID,....) oder Fehlermeldung (EM=ErrorMessage) ersetzen und man sieht sämtliche logs zu dieser ID / EM
|
||||
* Zeitraum wählen
|
||||
|
||||
|
||||
|
||||
Beispiel Queries:
|
||||
|
||||
* {container="app",pod=~"abn8*.*"} |= "Pause partition" → um zu sehen ob evtl. eine Partition der ABN8 gestoppt wurde
|
||||
* {container="app",pod=~"abn1-.*"} |= "PR3239DGGFJIZUHZM3012026" → alle logs zu dieser PRID
|
||||
|
||||
* besser ist immer, man sucht nach der traceId zu einer PRID → Eine Trace ID ist eine eindeutige Kennung (ID), die einen kompletten Request-Ablauf durch mehrere Systeme hinweg identifiziert (Ergo: bessere Ausgabe)
|
||||
Reference in New Issue
Block a user