Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upRemote writes not sending `job` label after the first few writes #3080
Comments
ghost
changed the title
Remote writes not sending `job` dimension after the first write
Remote writes not sending `job` dimension after the first few writes
Aug 15, 2017
This comment has been minimized.
This comment has been minimized.
|
It seems to be the case that when a metric is cached, the "rule labels" are not appended, i.e. the behaviour that https://github.com/prometheus/prometheus/blob/dev-2.0/retrieval/scrape.go#L776 |
ghost
changed the title
Remote writes not sending `job` dimension after the first few writes
Remote writes not sending `job` label after the first few writes
Aug 16, 2017
brian-brazil
added
dev-2.0
kind/bug
component/remote storage
labels
Aug 21, 2017
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
A possibly related issue is the caching dropping certain metrics and not just certain labels. When I disabled caching (by setting The change goes into effect at 15:30, for reference. Each of the previous spikes is from the initial writes, after which the metrics just stop being reported. |
This comment has been minimized.
This comment has been minimized.
|
DIBS |
This comment has been minimized.
This comment has been minimized.
|
This should be fixed via #3151. Unfortunately, it didn't go into beta.3 by accident. We should probably cut beta.4 for that. |
This comment has been minimized.
This comment has been minimized.
|
Can this be closed? |
brian-brazil
closed this
Oct 18, 2017
This comment has been minimized.
This comment has been minimized.
lock
bot
commented
Mar 23, 2019
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |

ghost commentedAug 15, 2017
•
edited by ghost
What did you do?
Configured prometheus to write to a remote endpoint
What did you expect to see?
A constant flow of requests to that endpoint including a
joblabelWhat did you see instead? Under which circumstances?
The requests following the first few requests did not include
job. The change occurs fairly quickly in a fresh/plain install where the only configuration is setting a remote write URL.Environment
Mac OSX Sierra 10.12.6 and Centos RHEL 7
System information:
Darwin 16.7.0 x86_64 and Linux 3.10.0-514.26.2.el7.YAHOO.20170707.8.x86_64 x86_64
Prometheus version:
prometheus, version 2.0.0-beta.1 (branch: HEAD, revision: 4dcb465)
build user: root@d3f9974fac5a
build date: 20170811-12:16:25
go version: go1.8.3