agent icon indicating copy to clipboard operation
agent copied to clipboard

discrepancy between otel-collector and grafana-agent tail_sampling configuration options

Open vbichov opened this issue 2 years ago • 0 comments

it seems that grafana-agent is missing a bunch of configuration options that otel-collector has.

In my usecase I would like to increase num_traces value but it's missing from grafana config.

In otel-collector num_traces is loaded into this struct while in grafna agent configs are represented by this struct which has only a subset for the properties the otel-collector has.

an attempt to add the said property resutlts in :

2022-09-19 11:10:46.806018 I | error loading config file /configs/agent.yaml: yaml: unmarshal errors:
  line 52: field num_traces not found in type traces.tailSamplingConfig

I'm using the following docker image grafana/agent:v0.26.1

vbichov avatar Sep 19 '22 11:09 vbichov