Alerting
Questions about alerting and problem detection in Dynatrace.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Is it possible to create dashboards and raise alerts for UnitaryTransactions?

arunveersingh9
Newcomer

Is it possible to create dashboards and raise alerts for UnitaryTransactions? My need is that I should be able to track time taken by Indvidual transactions and raise the alerts accordingly but I am not sure Dynatrace can do it UnitaryTransaction level or it's just done at the highest level, that is  FileProcessing in this case.

Below graph plots the relation between FileProcessing and UnitaryTransactions.

FileProcessing (traceId: root-trace-id-123, spanId: root-span-id-456)
├── UnitaryTransaction1 (spanId: child-span-id-789, parentSpanId: root-span-id-456)
│ ├── MicroserviceA (spanId: microserviceA-span-id-001, parentSpanId: child-span-id-789)
│ ├── MicroserviceB (spanId: microserviceB-span-id-002, parentSpanId: child-span-id-789)
│ └── MicroserviceC (spanId: microserviceC-span-id-003, parentSpanId: child-span-id-789)
├── UnitaryTransaction2 (spanId: child-span-id-101, parentSpanId: root-span-id-456)
│ ├── MicroserviceA (spanId: microserviceA-span-id-004, parentSpanId: child-span-id-101)
│ ├── MicroserviceB (spanId: microserviceB-span-id-005, parentSpanId: child-span-id-101)
│ └── MicroserviceC (spanId: microserviceC-span-id-006, parentSpanId: child-span-id-101)
└── UnitaryTransaction3 (spanId: child-span-id-112, parentSpanId: root-span-id-456)
    ├── MicroserviceA (spanId: microserviceA-span-id-007, parentSpanId: child-span-id-112)
    ├── MicroserviceB (spanId: microserviceB-span-id-008, parentSpanId: child-span-id-112)
    └── MicroserviceC (spanId: microserviceC-span-id-009, parentSpanId: child-span-id-112)

1 REPLY 1

MaciejNeumann
Community Team
Community Team

Hello @arunveersingh9,

According to this Documentation article:

Access spans and span attributes via DQL 

With DQL you can access every single span via the command fetch spans. Combine it with DQL functions to query any span attribute stored in Grail without additional configuration.

Would filtering spans by spanID value for UnitaryTransactions solve your use case? After having a right DQL query, you can create dashboards and alerting profiles based on that.

If you have any questions about the Community, you can contact me at maciej.neumann@dynatrace.com

Featured Posts