sloglint
sloglint copied to clipboard
Allow key-naming-case to support dots?
OpenTelemetry commonly uses namespaced keys with dot notation to categorize attributes - like http.status_code, messaging.system, and service.instance.id. Could we consider supporting dots in key names? This would help us align with OTEL conventions, which we currently can't adopt due to this limitation.
I am happy to send a PR.
I'm open to adding this, though the current implementation of key-naming-case uses an external library that does not support dot notation, if I remember correctly. There is a similar request to add support for regular expressions in #56, would something like that work for you?
Yes, that's even better.