Skip to content

Commit

Permalink
fix: make opentelemetry logging configuration compatible with configu…
Browse files Browse the repository at this point in the history
…ration in docker recipe
  • Loading branch information
h1k3r committed Dec 4, 2024
1 parent 56a388c commit e592bb0
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# see https://github.com/shopwareLabs/opentelemetry/blob/main/README.md

monolog:
handlers:
main:
type: fingers_crossed
action_level: error
handler: nested
excluded_http_codes: [ 404, 405 ]
buffer_size: 50
nested:
type: service
id: monolog.handler.open_telemetry
level: error
formatter: null
elasticsearch:
type: service
id: monolog.handler.open_telemetry
5 changes: 5 additions & 0 deletions open-telemetry/opentelemetry-logger-monolog/1.0/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,3 @@ shopware:
profiler:
integrations:
- OpenTelemetry

monolog:
handlers:
main:
type: service
id: monolog.handler.open_telemetry
elasticsearch:
type: service
id: monolog.handler.open_telemetry

0 comments on commit e592bb0

Please sign in to comment.