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.

Custom metrics issues

See original GitHub issue

I’m using stagemonitor (lastest) + elastic + grafana through the docker-compose.yml provided in wiki. However, there are two problems:

  1. Custom metrics are not being gathered at all (I just checked on Kibana, there are no entries for name: timer and name: gauge*). The code has tons of @Timed methods being called, though.

  2. The custom metrics dashboard is broken. The query filters for signature (which I don’t know what it is) and breaks the graph:

Failed to parse query [name: timer AND application: app AND host: ("host1" OR "host2" OR "host3") AND instance: ("myapp") AND signature: ()]

There are no erros on logs, so I’m not attaching them. Please let me know if you need futher information.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:11 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
ratheesh001commented, Apr 23, 2017

Thanks a lot felix. It worked 👍

0reactions
felixbarnycommented, Apr 23, 2017

Ha, thats a cheesy “problem”: Your package name is org.stagemonitor.mytest.task but in order to exclude stagemonitor from transforming itself, the package org.stagemonitor is excluded implicitly. So please choose a different packaging structure.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Issues · kubernetes-sigs/custom-metrics-apiserver - GitHub
Framework for implementing custom metrics support for Kubernetes - Issues · kubernetes-sigs/custom-metrics-apiserver.
Read more >
Track server errors with custom metrics and alerts
For example, while built-in metrics show you issues with HTTP responses and requests, a custom metric can identify 500-level server errors. These types...
Read more >
Collect custom metrics (APM, browser, mobile)
For an overview of custom metrics, including examples, best practices, and a quick reference by New ... For more information, see Metric grouping...
Read more >
Custom Metrics - Datadog Docs
Naming custom metrics · Metric names must start with a letter. · Metric names must only contain ASCII alphanumerics, underscores, and periods. Other...
Read more >
Problems with custom metrics - SonarQube - Sonar Community
I am trying to create a custom metric and trying to add it in each project's configuration. Its showing pending status.
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