-
Notifications
You must be signed in to change notification settings - Fork 3
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 configuration tutorial #12
base: main
Are you sure you want to change the base?
Conversation
@@ -0,0 +1,140 @@ | |||
# Shopware OpenTelemetry configuration |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
main: | ||
type: service | ||
id: monolog.handler.open_telemetry |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should this be documented to be used as a separate handler? rather than main
?
# traces | ||
shopware: | ||
profiler: | ||
integrations: | ||
- OpenTelemetry |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Might be worth mentioning that this setting is only relevant for using the Profiler
, not the auto
tracing in general.
Auto tracing would be working directly after requiring the dependency via composer, without any configuration updates (besides the env vars).
OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE="delta" | ||
|
||
# Attributes detectors | ||
OTEL_PHP_DETECTORS="env" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
would be worth saying, that this is the minimal set to make things work. (not setting it at all should also work).
or set a link to the full configuration set
ee43263
to
547058f
Compare
No description provided.