question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support for Dynatrace metrics API v2

See original GitHub issue

Dynatrace has released a new metric ingestion API much flexible than previous one. https://www.dynatrace.com/support/help/dynatrace-api/environment-api/metric-v2/post-ingest-metrics/

Ingestion flow has changed significantly:

  • no need to preregister metrics
  • metrics are not constrained to a custom device anymore
  • more flexible naming conventions (eg. no custom: prefix)
  • payload type as line protocol
  • possibility to ingest gauges and counters

Since there are quite changes and new api is still in EAP, I’d propose to create a new shinny meter registry, let’s say micrometer-registry-dynatrace2 and deprecate the first versionmicrometer-registry-dynatrace so first version would be still available to be used to do not lose the history of the custom metrics registered with v1.

If is ok from your side, I’d try to contribute in this new registry in the upcoming days.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:16 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
jonatan-ivanovcommented, Jun 9, 2021

Closing this since the feature was merged: https://github.com/micrometer-metrics/micrometer/pull/2619 Thanks everyone for the contributions! 😃

1reaction
damasscommented, Mar 18, 2021

@shakuzen, would you be the one to review the PR for this issue? Please let me know if there is anything that needs to be changed or anyone else to loop in.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Metrics API v2 | Dynatrace Docs
The Metrics API is a flexible instrument for obtaining data. Learn how to use metric selector transformations to fine-tune the scope of data...
Read more >
Metrics API - GET metric data points | Dynatrace Docs
Gets data points of the specified metrics. You can receive either one aggregated data point per tuple (unique combinations of metric—dimension—dimension ...
Read more >
Metrics API - GET metrics | Dynatrace Docs
List all metrics available in your monitoring environment via Metrics v2 API.
Read more >
Metrics API - Metric selector | Dynatrace Docs
The metric selector is a powerful instrument for specifying which metrics you want to read via the GET metric data points request or...
Read more >
Metrics API examples - List all metrics | Dynatrace Docs
This example shows how to fetch the list of all metrics in the environment with essential metadata.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found