boden
boden

Reputation: 1681

New Relic metrics chart does not increase

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. enter image description here

It's configuration for chart enter image description here

Code

NewRelic.recordMetric(ForgotPasswordServiceImpl.class.getSimpleName() + "sendPassword", 1);

How i can make chart as see on next screenshot? enter image description here

Upvotes: 1

Views: 112

Answers (1)

jdev
jdev

Reputation: 38

You must change name of metrics.

enter image description here

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

Related Questions