Reputation: 1681
I added new relic to my spring boot
aplication and I try to receive metrics count in chart, but line in chart always remains stable.
Code
NewRelic.recordMetric(ForgotPasswordServiceImpl.class.getSimpleName() + "sendPassword", 1);
How i can make chart as see on next screenshot?
Upvotes: 1
Views: 112
Reputation: 38
You must change name of metrics.
Start all custom metric names with Custom/ (for example, Custom/MyMetric/My_label). The Custom/ prefix is required for all custom metrics.
Read more about custom metrics
Upvotes: 1