open-telemetry / opentelemetry-swift

OpenTelemetry API for Swift
https://opentelemetry.io/docs/instrumentation/swift/
Apache License 2.0
207 stars 124 forks source link

[Question] Mobile Conventions - where are Android and iOS conventions being defined #519

Open crsantos opened 6 months ago

crsantos commented 6 months ago

Why this issue

This is more like a question, to kick off the discussion, so I can understand what is the process of adding new features to the SDK and how can I contribute to it as a mobile developer.

What

I started exploring OTel recently and I'm testing this Swift SDK.

As I can see there are some Mobile events conventions already defined on the spec, but nothing more than that.

Although the spec is new, and it doesn't have a lot of mobile on that, I'm seeing that Android SDK implemented a lot of things, like:

Questions

Thanks in advance.

nachoBonafonte commented 6 months ago

There is a Opentelemetry SIG group focused on building the spec for these, otel-client-side or otel-client-side-telemetry, the spec is still not official but it is quite advanced in several areas, they have a channel also in the CNCF slack. The swift library has way less instrumentation implemented as part of the framework, but we are totally open to new contributions.

bidetofevil commented 6 months ago

We are discussing in in the context of Android the newly formalized Android SIG and trying to build Semantic conventions around mobile telemetry that works cross-platform. Perhaps we can create a new Slack channel to discuss and coordinate how we go about doing this?

crsantos commented 6 months ago

Thank you so much @nachoBonafonte and @bidetofevil for the replies.

🤦 I guess I should have started reading about SIG groups (that I had absolutely no idea about) and join the CNCF slack first and that's what I'm going to do right away.

What I suggest, and I can do that if you agree, I can update this repo's README with the link to the slack channel. That's why I didn't find it in the first place. Just like the links android repo has:

We are also available in the #otel-android channel in the CNCF slack. Please join us there for further discussions.

crsantos commented 6 months ago

Meanwhile, I think my original question still make sense, on if there's an alignment between mobile platforms, that I feel that should be key to the success of OTel in mobile.

But looking at #otel-client-side-telemetry, it's a start!

Perhaps we can create a new Slack channel to discuss and coordinate how we go about doing this?

I'm new here, not trying to create entropy 😄 whatever you folks think it's better if you think we can do that on #otel-client-side-telemetry, I'm fine with that.