Replies: 3 comments 6 replies
-
Hey @djryanj! I'm here to help you with any bugs, questions, or contributions you have. Let's tackle this together! I found a similar unsolved discussion regarding Jaeger deployment issues with the Elasticsearch backend [1]. Unfortunately, it doesn't provide a resolution, but it might be worth reviewing for any additional context or troubleshooting steps. To address your issue with configuring Jaeger v2 via the OpenTelemetry operator to connect to the VictoriaLogs Elasticsearch backend and set the log level to "debug," you can use the following configuration: service:
extensions: [jaeger_storage, jaeger_query, healthcheckv2]
pipelines:
traces:
receivers: [otlp]
processors: [batch]
exporters: [jaeger_storage_exporter]
telemetry:
resource:
service.name: jaeger
metrics:
level: detailed
readers:
- pull:
exporter:
prometheus:
host: 0.0.0.0
port: 8888
logs:
level: debug
extensions:
healthcheckv2:
use_v2: true
http:
jaeger_query:
storage:
traces: some_storage
traces_archive: another_storage
ui:
config_file: ./cmd/jaeger/config-ui.json
jaeger_storage:
backends:
some_storage:
elasticsearch:
server_urls:
- http://<victoria-logs-url>:9200
indices:
index_prefix: "jaeger-main"
spans:
date_layout: "2006-01-02"
rollover_frequency: "day"
shards: 5
replicas: 1
services:
date_layout: "2006-01-02"
rollover_frequency: "day"
shards: 5
replicas: 1
dependencies:
date_layout: "2006-01-02"
rollover_frequency: "day"
shards: 5
replicas: 1
sampling:
date_layout: "2006-01-02"
rollover_frequency: "day"
shards: 5
replicas: 1
another_storage:
elasticsearch:
server_urls:
- http://<victoria-logs-url>:9200
indices:
index_prefix: "jaeger-archive"
receivers:
otlp:
protocols:
grpc:
http:
processors:
batch:
exporters:
jaeger_storage_exporter:
trace_storage: some_storage Replace Ensure that the To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other |
Beta Was this translation helpful? Give feedback.
-
@djryanj that's just an |
Beta Was this translation helpful? Give feedback.
-
It appears that this was a bug in VictoriaLogs that has been fixed. Closing. |
Beta Was this translation helpful? Give feedback.
-
When deploying Jaeger v2 via the opentelemetry-operator (e.g., using https://github.com/jaegertracing/jaeger/blob/main/cmd/jaeger/config-elasticsearch.yaml) and attempting to use VictoriaLogs' ElasticSearch backend (e.g., https://docs.victoriametrics.com/victorialogs/data-ingestion/opentelemetry/#elasticsearch), the Jaeger pod fails with:
However, we see in the VictoriaLogs pod:
The path appears to be correct based on the VictoriaLogs documentation, (and given that I have provided that path correctly to other compatible agents, like Vector). In addition, network connectivity is not blocked (there are no NetworkPolicies in the cluster at all) since we're seeing errors in the VL pods from the Jaeger pods without issue.
Note that this appears similar to https://github.com/orgs/jaegertracing/discussions/6024 and https://github.com/orgs/jaegertracing/discussions/6681 but neither of those have resolution; #6681 specifically calls out setting
es.log-level: "debug"
but I am unsure how to do that with the opentelemetry-operator as documentation merely mentions setting log levels but does not provide any way to actually do that (I have tried setting--log-level=debug
in the command line flags to the jaeger pods, I have tried setting it via the config passed to opentelemetry-operator, but neither of those work with jaeger complaining about unsupported flags).Any assistance here would be appreciated.
Beta Was this translation helpful? Give feedback.
All reactions