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

Adds support for default attributes #21

Open
jcchavezs opened this issue Nov 12, 2020 · 3 comments
Open

Adds support for default attributes #21

jcchavezs opened this issue Nov 12, 2020 · 3 comments

Comments

@jcchavezs
Copy link
Contributor

jcchavezs commented Nov 12, 2020

A common use case is that users can pass default attributes to instrumentation at different levels, e.g.:

We can allow static tags being passed directly from code and also over env vars:

message AgentConfig {
    ...

    // defaultTags accept a map of tags that will be added on every span
    map<string, string> defaultTags = 4;
}

Ping @hypertrace/agent-maintainers

@pavolloffay
Copy link
Member

LGTM, for the name I would consider using attributes, but the HT uses tags in the search bar so I am not sure.

@davexroth
Copy link

agreed, we should standardize on attributes. And I thought we had gone through and updated HT to use attributes, but maybe we missed some places. We should fix that.

@jcchavezs
Copy link
Contributor Author

jcchavezs commented Nov 13, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants