-
Notifications
You must be signed in to change notification settings - Fork 44
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
853 opentelemetry metrics for server mode #944
base: develop
Are you sure you want to change the base?
Conversation
Code Coverage (Ubuntu)
Minimum allowed coverage is Generated by 🐒 cobertura-action against 2fa09fc |
Code Coverage (Windows)
Minimum allowed coverage is Generated by 🐒 cobertura-action against 7edfabe |
79d31be
to
8cf83ef
Compare
7afb97b
to
08eee64
Compare
2fa09fc
to
a515210
Compare
a515210
to
0205ce5
Compare
abc6c8e
to
34848a5
Compare
Code Coverage (Ubuntu)
Diff against develop
Results for commit: fb7e7e6 Minimum allowed coverage is ♻️ This comment has been updated with latest results |
Code Coverage (Windows)
Diff against develop
Results for commit: fb7e7e6 Minimum allowed coverage is ♻️ This comment has been updated with latest results |
0c83fc7
to
b87329b
Compare
Instructions to run the metrics. Start the OTEL collector:
Set the following environment variables:
Run EODAG in server mode with the
The metrics are available on |
ae8bba6
to
96e5a8a
Compare
a734773
to
1745179
Compare
f318379
to
eb85724
Compare
7d450d6
to
bb1ca21
Compare
73b94a0
to
f862a02
Compare
TODO: the callback functions continue to be called after removing the instrumentation
Also: semplify `deployment.yaml`
de91095
to
fb7e7e6
Compare
Implemented OpenTelemetry metrics with Prometheus exporter.
Metrics implemented:
Aligning the metrics' code with EODAG's code
The functions in
opentelemetry/instrumentation/eodag/__init__.py
decorated with@functools.wraps
must match the one of the wrapped function in EODAG.Instructions to run the metrics
Start the OTEL collector:
Set the following environment variables:
Setting
OTEL_METRIC_EXPORT_INTERVAL
is optional but useful during tests. The interval is in milliseconds.Run EODAG in server mode with the
--observability
option:The metrics are available on
http://localhost:8000/metrics