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

Ability to set time unit per metric #71

Open
xiaochuanyu opened this issue Feb 24, 2017 · 1 comment
Open

Ability to set time unit per metric #71

xiaochuanyu opened this issue Feb 24, 2017 · 1 comment

Comments

@xiaochuanyu
Copy link

Is there a way to set the time unit specifically for certain metrics?
E.g. I want meter1 to be per minute rate but meter2 per sec

Dropwizard metrics seemed to have dropped this feature at one point and wanted to let metrics reporter libraries to deal with it (like metrics-datadog).

So far my work around has been to make Datadog derive rates from count.

@xiaochuanyu xiaochuanyu changed the title Ability to set timeunit per metric Ability to set time unit per metric Feb 24, 2017
@nickdella
Copy link

Hi @xiaochuanyu ! We currently only support setting the time unit for all metrics. Doing this for certain metrics would be possible with some additional configuration and implementation work.

Personally, I don't see a strong need for this feature, as 1) I find myself doing a lot of metric massaging downstream in Datadog anyway (e.g. applying the rate function as you mention) and 2) I like the consistency of having all metrics reported with one duration unit, as opposed to having engineers guess as to which metrics are in seconds vs minutes. That said, PRs are welcome so long as they don't break backward compatibility.

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

2 participants