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 deployed two groups of VMAgent which scrape completely same targets and send samples to two different vmstorage clusters for HA purpose. And there is a vmselect cluster querying these two vmstorage clusters simultaneously.
Suppose the two VMAgents are named vmagent-0 and vmagent-1 in same namespace vm. The raw sample from original target foo will be foo{vmagent="vm/vmagent-0"} in vmstorage cluster 0 and foo{vmagent="vm/vmagent-1"} in vmstorage cluster 1. When I search vmselect with query foo I got those two timeseries which caused duplicate data.
The motivation of this issue is to make the VMagent operator don't add external label vmagent so that I can make the samples in two vmstorage clusters are completely same. These two vmstorage clusters are completely equivalent.
Changes
Add new field enableVmagentExternalLabel to VMAgentSpec, its default values is true
2 when the field is set to false the opeator don't add the external label vmagent
The text was updated successfully, but these errors were encountered:
Background
We deployed two groups of VMAgent which scrape completely same targets and send samples to two different vmstorage clusters for HA purpose. And there is a vmselect cluster querying these two vmstorage clusters simultaneously.
Suppose the two VMAgents are named
vmagent-0
andvmagent-1
in same namespacevm
. The raw sample from original targetfoo
will befoo{vmagent="vm/vmagent-0"}
in vmstorage cluster 0 andfoo{vmagent="vm/vmagent-1"}
in vmstorage cluster 1. When I search vmselect with queryfoo
I got those two timeseries which caused duplicate data.The motivation of this issue is to make the VMagent operator don't add external label
vmagent
so that I can make the samples in two vmstorage clusters are completely same. These two vmstorage clusters are completely equivalent.Changes
enableVmagentExternalLabel
toVMAgentSpec
, its default values is true2 when the field is set to
false
the opeator don't add the external labelvmagent
The text was updated successfully, but these errors were encountered: