Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Telegraf helm chart: Adding support for opentelemetry input in service template #645

Conversation

louisledev
Copy link
Contributor

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.

  • CHANGELOG.md updated
  • Rebased/mergable
  • Tests pass
  • Sign CLA

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"]

@louisledev louisledev force-pushed the feature/add-support-for-opentelemetry-input branch from d83469d to 38d32f3 Compare May 23, 2024 19:17
Copy link
Contributor

@powersj powersj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@powersj powersj merged commit d07bc44 into influxdata:master May 23, 2024
2 checks passed
@louisledev louisledev deleted the feature/add-support-for-opentelemetry-input branch June 10, 2024 08:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants