Skip to content
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

Option to override attribute names #226

Open
aronneagu opened this issue Nov 27, 2024 · 1 comment
Open

Option to override attribute names #226

aronneagu opened this issue Nov 27, 2024 · 1 comment
Labels
type: enhancement New feature or request

Comments

@aronneagu
Copy link

Is your feature request related to a problem? Please describe.
I would like to have names for attributes that are closer aligned to the CI systems we use (we use Gitlab).
For example the build_num attribute is not immediately clear for non-technical users browsing our telemetry data that it's actually CI_PIPELINE_ID. They know Gitlab, so seeing an attribute named something like "ci.pipeline_id" or "ci.pipeline.id" would make it more obvious what that attribute is referring to.

Describe the solution you'd like
I'd like the option to be able to map specific environment variables to attributes
For example in common.co
COMMON_PYTEST_ARGS_WITHOUT_COVERAGE: >-

the option to create attribute names "ci.pipeline.id" which maps to env var CI_PIPELINE_ID.

Describe alternatives you've considered
I couldn't find alternatives

Additional context

@aronneagu aronneagu added the type: enhancement New feature or request label Nov 27, 2024
@MikeGoldsmith
Copy link
Contributor

Hi @aronneagu - thanks for proposing the change. We're open to allowing users to use attribute names that mean more to them.

We'll add this to our backlog for consideration. We're also open to community PRs if you'd like to work on this yourself.

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

No branches or pull requests

2 participants