Open
Description
Hey there,
Thanks for putting this together. Seeing way better performance with this extension already. I'm running into an issue with tags, and I'm not sure whether it's a bug or just me misreading the docs.
I'm attempting to set tags in client-side standalone checks, but the values are being overridden by the values on the server.
Client check config:
{
"checks": {
"cpu_client_metrics": {
"command": "metrics-cpu.rb --scheme cpu",
"handlers": [
"metrics"
],
"interval": 60,
"standalone": true,
"timeout": 30,
"type": "metric"
}
},
"influxdb": {
"tags": {
"applicationtier": "test",
"environment": "test",
"os": "RedHat"
},
"templates": {
"^cpu\\..*": "measurement.field*"
}
}
}
Server check side:
{
"checks": {
"cpu_server_metrics": {
"command": "metrics-cpu.rb --scheme cpu",
"handlers": [
"metrics"
],
"interval": 60,
"standalone": true,
"timeout": 30,
"type": "metric"
}
},
"influxdb": {
"tags": {
"applicationtier": "production",
"environment": "development",
"os": "RedHat"
},
"templates": {
"^cpu\\..*": "measurement.field*"
}
}
}
It's only the server values that I'm seeing in InfluxDB:
> show tag values from cpu with key = applicationtier
name: cpu
key value
--- -----
applicationtier production
All of the other metric data is coming in just fine. Are the tags section of the config only applicable to server-side checks, is there something I'm missing, or is this a bug?
Thanks!
Metadata
Assignees
Labels
No labels