-
Notifications
You must be signed in to change notification settings - Fork 37
Open
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is neededinvestigation neededThe investigation is neededThe investigation is needed
Description
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
- I have read Common Problems section in project wiki
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is neededinvestigation neededThe investigation is neededThe investigation is needed