I am trying to see akka metric on New Relic with using Lightbend Cinnamon Library.
Until this time, i can not see any metrics on new relic.
When i check new relic agent logs, i see the logs below;
2021-04-20T07:13:30,690+0000 [71585 67] com.newrelic WARN: Dropped 191 custom events out of 1,024.
2021-04-20T07:15:30,690+0000 [71585 67] com.newrelic WARN: Dropped 323 custom events out of 1,156.
2021-04-20T07:17:30,683+0000 [71585 67] com.newrelic WARN: Dropped 499 custom events out of 1,332.
2021-04-20T07:19:30,680+0000 [71585 67] com.newrelic WARN: Dropped 631 custom events out of 1,464.
My cinnamon config is illstrated below;
cinnamon {
host = "dispatch-cinnamon"
application = "dispatch-cinnamon-app"
}
cinnamon{
akka {
cluster {
shard-region-info = on
domain-events = on
member-events = on
node-status = on
node-metrics = on
}
remote{
serialization-timing = on
failure-detector-metrics = on
}
actors {
"/user/*" {
# WARNING: In a real application, it will be better to tag the actors
# so that will be easier to make sense of the metrics. But since this is
# just a sample, we are using `instance` to keep it simple.
# See the following page for more information:
# https://developer.lightbend.com/docs/telemetry/current/instrumentations/akka/actors-typed.html
report-by = instance
}
}
}
meta{
descriptor{
actor{
dead-letter.enabled = true
sent-messages.enabled = true
mailbox-size {
key = "mailbox-size"
unit-type = "custom"
unit-suffix = "msg"
}
actor-failure {
key = "actor-failure"
}
dead-letter {
key = "dead-letter"
}
mailbox-time {
key = "mailbox-time"
unit-type = "nanoseconds"
}
processed-messages {
key = "processed-messages"
unit-type = "custom"
unit-suffix = "msg"
}
processing-time {
key = "processing-time"
unit-type = "nanoseconds"
}
}
node{
cluster-domain-event {
key = "cluster-domain-event"
}
}
}
events{
# rate limit events
rate {
# event defaults are applied per event
default {
# only every n:th event will be fired
every = 1
# events will fire at-most times every time period
at-most = 1
at-most-every = 20s
}
# global settings apply to all events combined
global {
# only every n:th event will be fired
every = 1
# events will fire at most once every time period
at-most = 1
at-most-every = 20s
}
}
}
}
}
cinnamon.chmetrics {
reporters += newrelic-reporter
newrelic-reporter {
frequency = 2s
# Handle events.
# Control if the reporter should send events to new relic as well.
handle-events = true
# Prefix for all metric keys.
prefix = "test"
report {
# Meter fields to report for metrics.
meter = ["samples", "min1_rate", "min5_rate", "min15_rate", "mean_rate"]
# Tags to include for metrics. Does not affect histogram or meter fields.
include-tags = ["*"]
# Tags to exclude for metrics. Does not affect histogram or meter fields.
exclude-tags = []
# Converts time from nano into specified unit. Use "ns" for no conversion.
# Supported units: "ns" (default), "us", "ms", and "s".
conversion-time-unit = "ms"
# Group by category instead of name.
# If enabled the New Relic event names will only include the metric category and not the name,
# and a new tag named "metric" containing the metric name will be added.
# E.g. the metric "lightbend:actors:mailbox_size" will be reported as "lightbend:actors" with
# the tag "metric" -> "mailbox_size"
group-by-category = true
}
}
}
i can not find any solution. can u help me?. thx a lot