Closed louisledev closed 6 months ago
Currently, if using the opentelemetry input plugin for telegraf, the kubernetes service is not created because this input plugin is not taken into account when setting the ports for the service. This PR is about adding this support.
opentelemetry
Example of values file:
resources: {} service: enabled: true config: agent: interval: "10s" round_interval: true metric_batch_size: 1000 metric_buffer_limit: 10000 collection_jitter: "0s" flush_interval: "10s" flush_jitter: "0s" precision: "" debug: true quiet: false inputs: - opentelemetry: service_address: ":4311" #address to receive traces timeout: "5s" metrics_schema: "prometheus-v2" processors: - starlark: source: | load("logging.star", "log") def apply(metric): log.info("Processing metric: {}".format(metric)) return metric outputs: - file: files : ["stdout", "/tmp/metrics.out"]
Currently, if using the
opentelemetry
input plugin for telegraf, the kubernetes service is not created because this input plugin is not taken into account when setting the ports for the service. This PR is about adding this support.Example of values file: