thanos icon indicating copy to clipboard operation
thanos copied to clipboard

receive: set tenant matched if matches one of glob patterns

Open junotx opened this issue 8 months ago • 2 comments

  • [x] I added CHANGELOG entry for this change.
  • [ ] Change is not relevant to the end user.

Changes

tenant foo1 should match the glob type hashring:

{
	"hashring": "<name>",
	"tenants": ["foo*", "bar*"],
	"tenant_matcher_type": "glob",
	"endpoints": [...]
}

just like that tenant foo will match the exact type hashring:

{
	"hashring": "<name>",
	"tenants": ["foo", "bar"],
	"tenant_matcher_type": "exact",
	"endpoints": [...]
}

Verification

junotx avatar Jun 20 '24 03:06 junotx