Skip to content

Add more app details #2346 #2430

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

thompson-tomo
Copy link
Contributor

Fixes #2346

Changes

Adds in functionality to record the details of the app which the telemetry is coming from to enable support for non service based scenarios ie Android App.

Note: if the PR is touching an area that is not listed in the existing areas, or the area does not have sufficient domain experts coverage, the PR might be tagged as experts needed and move slowly until experts are identified.

Merge requirement checklist

@thompson-tomo thompson-tomo requested review from a team as code owners June 25, 2025 02:58
@github-actions github-actions bot added enhancement New feature or request area:app labels Jun 25, 2025
@thompson-tomo thompson-tomo force-pushed the feature/#2346_AppDetails branch 3 times, most recently from 9f8ac14 to 01d2078 Compare July 1, 2025 01:44
Copy link

This PR was marked stale due to lack of activity. It will be closed in 7 days.

@github-actions github-actions bot added the Stale label Jul 16, 2025
@thompson-tomo
Copy link
Contributor Author

Awaiting review

@github-actions github-actions bot removed the Stale label Jul 17, 2025
MUST be the same for all installations of the app.
examples: ["shoppingcart"]
stability: development
- id: app.version

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems to me that app.name and app.version are duplicates of service.name and service.version values.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In some cases they will be the same however in other cases they will differ.

For instance you could have a server application which is comprised of multiple services, app provides a way to group the services into a versioned bundle.

The version string of the app. The format is not defined by these conventions.
examples: ["2.0.0", "a01dbef8a"]
stability: development
- id: app.namespace

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know that this term is important for Android apps, although I don't see the value elsewhere. If we want it, it's probably better to put it into an android-specific namespace. WRT the app namespace, it seems to me that app.id makes more sense for different platforms.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The namespace is designed to be a Grouping of apps similar to how it is used elsewhere.

An example would be if a product had both server & client apps, the app namespace would refer to the product hence shared across all apps.

Copy link
Contributor

@breedx-splk breedx-splk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @thompson-tomo
There is a LOT lot lot of history around using service vs. app for client/mobile applications. And when I say a LOT, I mean an excessively long and drawn out history. On the client/mobile side, we have long ago conceded and agreed to use service.name (and friends) instead of having explicit app.* equivalents.

Please see this PR and all of the related content linked from there: #630

@github-project-automation github-project-automation bot moved this from Untriaged to Blocked in Semantic Conventions Triage Jul 29, 2025
@thompson-tomo
Copy link
Contributor Author

@breedx-splk this doesn't change that, a service is still what is used to describe what is generating the telemetry. An app is 1 or more service's bundled together into an independently versioned package.

@thompson-tomo thompson-tomo force-pushed the feature/#2346_AppDetails branch from f859dd6 to 1eb282b Compare August 1, 2025 09:27
@breedx-splk
Copy link
Contributor

@breedx-splk this doesn't change that, a service is still what is used to describe what is generating the telemetry. An app is 1 or more service's bundled together into an independently versioned package.

Oh interesting. Well, that's not what we've previously considered to be an "app"... so it would appear that you're trying to completely redefine something that we have already established. Look at line 14 of app.md where it clearly says:

An app used directly by end users — like mobile, web, or desktop.

I don't think we want to change that.

@thompson-tomo
Copy link
Contributor Author

No I am not redefining it, if you install a desktop application ie visual studio 2022 that would be considered 1 app. That app is made up of multiple services. The same is the case for web apps where you might have a frontend & backend services but it should still be considered 1 app.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:app enhancement New feature or request
Projects
Development

Successfully merging this pull request may close these issues.

App details lack key info
3 participants