-
Couldn't load subscription status.
- Fork 29
Description
Area(s)
area:android
What happened?
Description
Recently, the io.opentelemetry.semconv.incubating.AndroidIncubatingAttributes#ANDROID_STATE attribute has been deprecated with documentation pointing users to use device.app.lifecycle instead. The problem is that there are no semantic convention constants in generated code which refer to this new name. A similar condition exists for ios.state.
Projects are frequently configured to fail on compilation warnings. Kotlin provides no mechanism for ignoring a specific warning which would force consumers to disable compilation failure on all compile warnings, require the consumer to define their own semantic convention definition for these attributes, or to avoid updating to recent semantic convention library releases.
Expected Result
Deprecated constants have appropriate replacement comments/API to transition to.
Actual Result
Compilation results in deprecation warnings, leading to compilation failure (when warnings-as-errors is enabled).
Semantic convention version
1.29.0-alpha (1.27.0-alpha works)
Additional context
open-telemetry/semantic-conventions#794 and open-telemetry/semantic-conventions#1461 look to be related to this change.
Tagging @breedx-splk on this, as requested. Thanks!