Coder Social home page Coder Social logo

Comments (6)

ahmed-mez avatar ahmed-mez commented on June 11, 2024 1

Sorry about that, it might be possible to contribute the feature to the envoy project though. @rocketspacer please feel to contact the support team and submit a feature request.

from helm-charts.

ahmed-mez avatar ahmed-mez commented on June 11, 2024

Hi @rocketspacer

You need to enable Origin Detection so the Datadog Agent can add Pod tags to your custom metrics.

To do so, please set datadog.dogstatsd.originDetection to true in your helm values, and set a DD_ENTITY_ID environment variable in your app Pod template

env:
    - name: DD_ENTITY_ID
      valueFrom:
          fieldRef:
              fieldPath: metadata.uid

If you're using an official and recent Dogstatsd client in your app, it will automatically read the value of DD_ENTITY_ID and forward it with the custom metrics to the Agent, which will rely on the value to attach the corresponding Pod tags.

Origin Detection documentation

I'm closing this issue because it is not really related to the Helm chart, but don't hesitate to contact our solutions team to help you configure Origin Detection if needed.

Thanks!

from helm-charts.

rkt2spc avatar rkt2spc commented on June 11, 2024

Shouldn't this default to true πŸ˜‚
@ahmed-mez and by Dogstatsd client you mean the SDK right?

from helm-charts.

ahmed-mez avatar ahmed-mez commented on June 11, 2024

Hey @rocketspacer which language and client version you're using in your app? I can double check for you if it supports the feature.
Regarding enabling Origin Detection by default, thanks for the feedback! we can reevaluate this in future helm releases.

Thanks!

from helm-charts.

rkt2spc avatar rkt2spc commented on June 11, 2024

I'm using Envoy Dogstatsd stats sink

I think it uses a custom implementation, not in the official libraries list :'(

from helm-charts.

rkt2spc avatar rkt2spc commented on June 11, 2024

The DD_ENTITTY_ID value is just used to map to the tag dd.internal.entity_id then I might be able to make this work. Thank you for all the help. I appreciate it. πŸ™‡β€β™‚οΈ

from helm-charts.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.