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 1 year ago • 2 comments
trafficstars

  • [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

@saswatamcode rebased and test cases added. but there are still other failed test cases to be resolved

junotx avatar Jun 25 '24 08:06 junotx

Sure can wait for them to be fixed

saswatamcode avatar Jun 26 '24 07:06 saswatamcode