-
Notifications
You must be signed in to change notification settings - Fork 933
Closed
Labels
area:apiCross language API specification issueCross language API specification issuesig-issueA specific SIG should look into this before discussing at the specA specific SIG should look into this before discussing at the specspec:logsRelated to the specification/logs directoryRelated to the specification/logs directory
Description
Imagine I'm instrumenting kafka:
- there could be some events I'd emit - e.g. cluster leader is unreachable - which are documented in the semconv
- there could also be things I just want to let my users know of via logs. E.g. certain configuration was picked, connection has dropped, etc. I could use 3rd party logging library, but why if I can use OTel logging API without adding a new dependency?
The library logs are emitted with is not relevant to users - they'd get the same logs if lib used 3rd party logger or OTel API. So I don't see why we should limit instrumentations from using OTel API to emit undocumented regular (but structured) logs.
Originally posted by @lmolkova in #4225 (comment)
lmolkova and cijothomas
Metadata
Metadata
Assignees
Labels
area:apiCross language API specification issueCross language API specification issuesig-issueA specific SIG should look into this before discussing at the specA specific SIG should look into this before discussing at the specspec:logsRelated to the specification/logs directoryRelated to the specification/logs directory
Type
Projects
Status
Done