Skip to content

Commit

Permalink
exclude file logs where we have otlp logs
Browse files Browse the repository at this point in the history
  • Loading branch information
zeitlinger committed Nov 9, 2023
1 parent 773d793 commit 1ac18d3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions charts/opentelemetry-demo/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -612,6 +612,14 @@ opentelemetry-collector:
opentelemetry_community_demo: "true"
config:
receivers:
filelog:
exclude:
- '/var/log/pods/*-otelcol*/opentelemetry-collector/*.log'
# logs are sent as OTLP, so we filter out the file logs
- '/var/log/pods/*/adservice/*.log' # java
- '/var/log/pods/*/frauddetectionservice/*.log' # kotlin
- '/var/log/pods/*/recommendationservice/*.log' # python
- '/var/log/pods/*/cartservice/*.log' # dotnet
otlp:
protocols:
http:
Expand Down

0 comments on commit 1ac18d3

Please sign in to comment.