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 as shown in examples/example_web.go doesn't work #37

Open
harshadptl opened this issue Jul 1, 2015 · 7 comments
Open

Comments

@harshadptl
Copy link

I tried implementing the custom metrics as shown in the examples/example_web.go file. But the sawtooth metric is not show on the dashboard! is this a dashboard issue?

@digitalcrab
Copy link

+1 same issue for me

@andreyevsyukov
Copy link

+1 same for me! It would be great if you could provide a simple documentation about Custom Metrics. Which would make GORelic plugin really powerful!

@docmerlin
Copy link

Ditto

@andreyevsyukov
Copy link

@docmerlin
Copy link

Thanks for the prompt response! Is there a way to do it within the gorelic plugin or do we have to define a new plugin using newrelic_platform_go.

@andreyevsyukov
Copy link

Well, Custom Metrics do not work on gorelic, even it shows the data is sent but it doesn't come up in the Dashboard.
When you use newrelic_platform_go you define your own GUID and it will make NewRelic show this data as another plugin.
But as for me it was a perfect solution: I created a simple wrapper around newrelic_platform_go.NewNewrelicPlugin and newrelic_platform_go.NewPluginComponent, defined my own GUID, my own data. In NewRelic dashboard you can then define everything as you wish: you can add as more Graphs as you want and tune them in different ways. Just because NewRelic will consider this plugin as your plugin and you will be able to do anything!

@callumj
Copy link

callumj commented Dec 30, 2015

You do not need to use newrelic_platform_go, you just need to override AgentGUID which will then create a new custom plugin for gorelic. With this custom plugin you then have full control over the dashboard data with the caveat that you'll need to replicate the dashboards provided by gorelic as well (HTTP, GC, Memory).

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

5 participants