Tenant RegExpression is not valid for valid X-Scope-OrgID header values #202
Labels
bug
Something isn't working
help wanted
Extra attention is needed
investigation needed
The investigation is needed
Which version of Serilog.Sinks.Grafana.Loki are you using?
v8.2.0-beta.1
Which version of .NET are you using?
4.8
Describe the bug
the new tenant property is not allowing some valid characters for X-Scope-OrgID like the
-
character.The regexp used in the BaseLokiHttpClient is not correct
To Reproduce
set the tenant property with some string like
mytest-tenant
Expected behavior
the configuration should be valid and we should not receive
System.ArgumentException: 'mytest-tenant' argument does not follow rule for Tenant ID
Log/SelfLog output or exception with stacktrace
No response
Application or code sample, which could be used to reproduce a bug
No response
Additional context
No response
I have read the documentation
The text was updated successfully, but these errors were encountered: