You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
This looks like a support request, I'll convert this into a discussion.
Don't hesitate to reach out to the community over slack https://prometheus.io/community/ (there is more activity there)
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
The text was updated successfully, but these errors were encountered: