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

Client-side telemetry and Prefix configuration causes excess billing #199

Open
jbrantly opened this issue Nov 7, 2024 · 0 comments
Open

Comments

@jbrantly
Copy link

jbrantly commented Nov 7, 2024

It appears that using the Prefix configuration causes client telemetry to also be prefixed. This in turn seems to cause these metrics to be billable, when the documentation states that they shouldn't be.

Example configuration:

var dogstatsdConfig = new StatsdConfig
{
    StatsdServerName = "127.0.0.1",
    StatsdPort = 8125,
    Prefix = "hr.holo",
    ...
};

These metrics now show up the Volume tab of Metrics:
Image

Non-prefixed datadog.dogstatsd.* metrics do not show up in the Volume tab (but do show up in the Summary tab). Additionally, when looking at metric details, prefixed and non-prefixed report differently:
Non-prefixed
Image

Prefixed
Image

This leads me to believe that the prefixed metrics are being counted as indexed custom metrics and billed accordingly.

According to https://docs.datadoghq.com/developers/dogstatsd/high_throughput/#client-side-telemetry (emphasis mine)

DogStatsD clients send telemetry metrics by default to the Agent. This allows you to better troubleshoot where bottlenecks exist. Each metric is tagged with the client language and the client version. These metrics are not counted as custom metrics.

I do not know if the issue is that the C# client should not be prefixing these, or if they still shouldn't be counted as custom metrics even with the prefix.

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

No branches or pull requests

1 participant