Replies: 5 comments
-
This seems to happen when the script to push the metrics is being executed from crontab or via systemd. Running it manually doesn't shows this issue. |
Beta Was this translation helpful? Give feedback.
-
More info, I was debugging what the
|
Beta Was this translation helpful? Give feedback.
-
Weird. I can only imagine that some processing of the I don't know those Unix and shell details enough to say for certain. I usually use |
Beta Was this translation helpful? Give feedback.
-
Since this is most likely not an issue with Pushgateway itself, I'll convert this issue into a discussion topic in the Q&A category. |
Beta Was this translation helpful? Give feedback.
-
@mihaimyh It would be helpful to print out the content of @beorn7 For the records, using curl From the Prometheus documentation:
From the curl man page:
|
Beta Was this translation helpful? Give feedback.
-
I am pushing metrics such as
cpu_usage{process="dsapi_slave",pid="89543"} 0.1
But in Prometheus I see the process as
dsapi_sla+
instead of the original pushed namedsapi_slave
(notice trimming happening by adding the + sign):cpu_usage{environment="DEV", exported_instance="machine", exported_job="top", instance="someServer", job="Engine", pid="89543", process="dsapi_sla+", source="push_gateway"}
Any hints about this?
Beta Was this translation helpful? Give feedback.
All reactions