Hi there, I’m working on a tutorial on how to display Spring Cloud Stream metrics using grafana.
I’m sending the metrics to an elasticsearch index that has the following mapping:
"properties" : {
"name" : {"type" : "keyword","index" : "true", "ignore_above": 1024},
"group" : {"type" : "keyword", "index" : "true", "ignore_above": 1024},
"instanceIndex" : {"type" : "integer"},
"@timestamp" : {"type" : "date"},
"metrics" : {"type" : "nested"}
}
And so far the dashboard support for templating is amazing. I’m using the group as the first option, and then the query drill down by filtering by group and grouping by name and instanceIndex.
The only side effect I noticed is that the series names are being shown as follows:
log 0, log 0 1, log 0 2, twitter 0, splitter 0
I get that 0 should represent the instanceIndex, but in case of the log metrics, which has 3 series, why it isn’t log 0, log 1, log 2?
Am I missing something here?
I also considered just grouping by name and having: log, twitter, splitter, but I could not find an easy way to drill down to a collection of apps to then split the panel by instance
Thank you