mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-09-11 02:35:32 +03:00
docs: Added DataDog trace documentation for Cloud
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4421 Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com> GitOrigin-RevId: 5791a4c952a96885ac3c3ec3373436f180778115
This commit is contained in:
parent
dcb8f7a4c9
commit
b369462913
@ -17,7 +17,7 @@ import Thumbnail from "@site/src/components/Thumbnail";
|
||||
|
||||
## Introduction
|
||||
|
||||
You can export metrics and operation logs of your Hasura Cloud project to your organisation's Datadog dashboard. This can be configured on the integrations tab on the project's setting page.
|
||||
You can export metrics, operation logs and traces of your Hasura Cloud project to your organisation's Datadog dashboard. This can be configured on the integrations tab on the project's setting page.
|
||||
|
||||
:::info Note
|
||||
|
||||
@ -48,6 +48,7 @@ Select the Datadog API region and enter the Datadog API key (can be retrieved by
|
||||
<Thumbnail
|
||||
src="/img/graphql/cloud/metrics/configure-datadog.png"
|
||||
alt="Configure Datadog Integration"
|
||||
width="500px"
|
||||
/>
|
||||
|
||||
After adding appropriate values, click `Save`.
|
||||
@ -123,3 +124,16 @@ Select the graphs you want to view from the metrics explorer. Alternatively, sel
|
||||
alt="Metrics successfully exported to Datadog"
|
||||
width="1146px"
|
||||
/>
|
||||
|
||||
## View traces
|
||||
|
||||
Along with the logs and metrics, query tracing is exported to DataDog. From your DataDog metrics page, `APM` > `Traces` will show you a live search of ingested trace data, with each entry of the output table showing the duration of the operation.
|
||||
|
||||
Clicking on an entry from the table will show the details about the trace, including a flame graph, which contains a visual representation of where the operation spent its execution over time. For example, in this case a query took 2.31 milliseconds in total, of which 758 microseconds was the actual Postgres database processing the query.
|
||||
|
||||
<Thumbnail
|
||||
src="/img/graphql/cloud/metrics/datadog-trace-flame-graph.png"
|
||||
alt="Flame graph for a trace entry in Datadog"
|
||||
width="1146px"
|
||||
/>
|
||||
|
||||
|
BIN
docs/static/img/graphql/cloud/metrics/datadog-trace-flame-graph.png
vendored
Normal file
BIN
docs/static/img/graphql/cloud/metrics/datadog-trace-flame-graph.png
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 36 KiB |
Loading…
Reference in New Issue
Block a user