Skip to content

options.setSentryClientName should contain the SDK version as well #2528

Closed

Description

@marandaneto

Description

https://develop.sentry.dev/sdk/overview/#authentication

Some method calls don't concatenate the versioning, for example:

options.setSentryClientName(BuildConfig.SENTRY_LOG4J2_SDK_NAME);

It should be:

options.setSentryClientName(BuildConfig.SENTRY_LOG4J2_SDK_NAME + "/" + BuildConfig.VERSION_NAME);

There is more than 1 case like this.

Activity

  1. adinauer commented on Feb 14, 2023

    @adinauer
    Member

    Is this causing issues or just a lack of info somewhere on the UI?

  2. self-assigned this
    on Mar 9, 2023
  3. marandaneto commented on Mar 10, 2023

    @marandaneto
    ContributorAuthor

    Is this causing issues or just a lack of info somewhere on the UI?

    no issues but it was not following the spec, and in case there's issues, relay wouldn't know which version of the SDK is the faulty one, thanks for fixing.

  4. ghost added
    Bug
    on Aug 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions