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

Custom Metrics #3

Closed
PatrikSteuer opened this issue Feb 27, 2019 · 5 comments
Closed

Custom Metrics #3

PatrikSteuer opened this issue Feb 27, 2019 · 5 comments
Labels
question Further information is requested

Comments

@PatrikSteuer
Copy link

What is the best way to provide custom metrics from within a nodejs application.

Providing a function within the sdk would reduce the need for rest calls and reduce complexity of deployments. Are there any other possibilities?

@SonjaChevre
Copy link

SonjaChevre commented Feb 27, 2019

To understand the use case better, what kind of metrics do you want to report to Dynatrace?

Custom metrics is on our roadmap for the SDK. In the meantime, you can either call the REST API or have a look at custom request attributes to see if this could fit your use case.

roadmap: https://answers.dynatrace.com/spaces/483/dynatrace-product-ideas/idea/198106/planned-features-for-oneagent-sdk.html
request attributes: https://www.dynatrace.com/news/blog/capture-any-request-attributes-using-oneagent-sdk/

@SonjaChevre SonjaChevre added the question Further information is requested label Feb 27, 2019
@PatrikSteuer
Copy link
Author

PatrikSteuer commented Feb 27, 2019

We have plenty of usecases and many teams are requesting for JMX like features in dynatrace. Currently they have to implement rest calls, as mentioned by you. This can be dangerous for the cluster, since it can be easily overwhelmed by these calls.

So some usecases are:

  • Integration to libraries, e.g. DBAccess (Hana, rabbitMq, redis) for client side reporting
  • Number of used connections
  • Alerting based on thresholds
  • Monitoring of circuit breaker and retry mechanisms

@SonjaChevre
Copy link

thanks for the details and sorry for the late answer, I have missed the notification. The use case you describe is totally in sync with what we want to achieve.

As mentioned earlier this is on the roadmap (you can follow it there: https://answers.dynatrace.com/spaces/483/dynatrace-product-ideas/idea/198106/planned-features-for-oneagent-sdk.html) but not available at the moment.

@moeriki
Copy link

moeriki commented Jun 24, 2019

Is there an ETA for the tracing of custom services?

Could someone point me to the right API endpoint which could be used to trace custom metrics.

@SonjaChevre
Copy link

Hi @moeriki - are you interested in custom metrics or custom services? and what is your use case?

Note that you are commenting on closed issue, please consider creating a new issue for your questions.
Sonja

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants