Replies: 1 comment
-
This looks like a support request, I'll convert this into a discussion. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What did you do?
We have used following hashmod config in our prometheus (on prometheus operator with horizontally scalable)
In relabel_config, we have used the following: replicas (2), shards (3)
- source_labels: [__meta_kubernetes_pod_label_nfId]
modulus: 3
target_label: __tmp_hash
action: hashmod
- source_labels: [__tmp_hash]
regex: ^1$
action: keep
However, we are unable to add get the data for certain hosts. However we receive data when we use the following scrape config, replicas (1), shards (3)
- source_labels: [__meta_kubernetes_pod_label_nfId]
modulus: 3
target_label: __tmp_hash
action: hashmod
Kindly review & let me know if this is correct. Also, if second config is really valid.
What did you expect to see?
Data from all hosts
What did you see instead? Under which circumstances?
No data
System information
Linux
Prometheus version
No response
Prometheus configuration file
No response
Alertmanager version
No response
Alertmanager configuration file
No response
Logs
No response
Beta Was this translation helpful? Give feedback.
All reactions