Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tracing capabilities #563

Merged
merged 1 commit into from
Aug 4, 2023
Merged

Add tracing capabilities #563

merged 1 commit into from
Aug 4, 2023

Conversation

sevein
Copy link
Member

@sevein sevein commented Jul 28, 2023

This pull request:

  • Configures grafana, grafana-agent and grafana-tempo in the development environment,
  • Configures an OpenTelemetry tracer in Enduro, and
  • Emits some basic traces.

Grafana has a "Tempo" datasource configured, e.g. the following is a trace recorded when a new watch event occurs. This could be further developed to capture workflow activities and other additional details.

image

To enable it, update .env with the following contents:

COMPOSE_FILE=docker-compose.yml:docker-compose.observability.yml

Docs:

@sevein sevein changed the title Add telemetry capabilities Add tracing capabilities Jul 28, 2023
@sevein sevein force-pushed the dev/tracing branch 2 times, most recently from 6ac6898 to be6a12f Compare August 4, 2023 08:05
@sevein sevein marked this pull request as ready for review August 4, 2023 08:05
This commit uses the OpenTelemetry SDK to produce tracing data. In the dev
environment, tracing data is pushed to Grafana Agent via gRPC. Grafana Tempo
is used to store traces and Grafana to consume the data from a web dashboard.
@sevein sevein merged commit 1013673 into main Aug 4, 2023
9 checks passed
@sevein sevein deleted the dev/tracing branch August 4, 2023 08:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant