Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
open_telemetry:
traces:
excluded_paths: ['/_profiler', '/_wdt', '/health']

when@test:
open_telemetry:
traces:
enabled: false
metrics:
enabled: false
logs:
correlation:
enabled: false
export:
enabled: false
20 changes: 20 additions & 0 deletions traceway/opentelemetry-symfony/2.1/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"bundles": {
"Traceway\\OpenTelemetryBundle\\OpenTelemetryBundle": ["all"]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"env": {
"#1": "OpenTelemetry SDK auto-initialization",
"OTEL_PHP_AUTOLOAD_ENABLED": "true",
"#2": "Service identity (shown in your backend)",
"OTEL_SERVICE_NAME": "%project_name%",
"#3": "Traces exporter: otlp | zipkin | console | none",
"OTEL_TRACES_EXPORTER": "otlp",
"#4": "Collector or backend endpoint",
"OTEL_EXPORTER_OTLP_ENDPOINT": "http://localhost:4318",
"#5": "Protocol: http/json | http/protobuf | grpc — use http/json unless ext-protobuf is installed",
"OTEL_EXPORTER_OTLP_PROTOCOL": "http/json"
}
}
12 changes: 12 additions & 0 deletions traceway/opentelemetry-symfony/2.1/post-install.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@

* <fg=blue>OpenTelemetry Symfony Bundle</> is wired and ready to trace your app.

* Verify your wiring:

<comment>$ bin/console traceway:doctor</comment>

* Override <comment>OTEL_*</> environment variables in <comment>.env.local</> to point at your backend.

* Documentation:

<comment>https://github.com/tracewayapp/opentelemetry-symfony-bundle</>
Loading