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

Multiple changes/fixes in preparation for gRPC #198

Closed

Conversation

santigimeno
Copy link
Member

agents: move text metrics calculation to common
    
The `Resource` is now updated in `fill_proc_metrics()` so there's no
need for every agent to do it.
agents: make metrics name format configure
    
So they can be either camelCase or snake_case. Out OTLPAgent uses
`snake_case`. The upcoming GRPCAgent will use `camelCase`.
Also, fix the name of the `gc_dur_us` metric.
agents: add nsolid.span_kind attribute to Spans
doc: fix linting issue

The `Resource` is now updated in `fill_proc_metrics()` so there's no
need for every agent to do it.
So they can be either camelCase or snake_case. Out OTLPAgent uses
`snake_case`. The upcoming GRPCAgent will use `camelCase`.
Also, fix the name of the `gc_dur_us` metric.
@santigimeno santigimeno self-assigned this Oct 21, 2024
santigimeno added a commit that referenced this pull request Oct 22, 2024
The `Resource` is now updated in `fill_proc_metrics()` so there's no
need for every agent to do it.

PR-URL: #198
Reviewed-By: Trevor Norris <trev.norris@gmail.com>
santigimeno added a commit that referenced this pull request Oct 22, 2024
So they can be either camelCase or snake_case. Out OTLPAgent uses
`snake_case`. The upcoming GRPCAgent will use `camelCase`.
Also, fix the name of the `gc_dur_us` metric.

PR-URL: #198
Reviewed-By: Trevor Norris <trev.norris@gmail.com>
santigimeno added a commit that referenced this pull request Oct 22, 2024
PR-URL: #198
Reviewed-By: Trevor Norris <trev.norris@gmail.com>
santigimeno added a commit that referenced this pull request Oct 22, 2024
PR-URL: #198
Reviewed-By: Trevor Norris <trev.norris@gmail.com>
@santigimeno
Copy link
Member Author

Landed in 1c2215d...831810c

@santigimeno santigimeno deleted the santi/add_string_metrics_naming branch October 22, 2024 07:41
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

Successfully merging this pull request may close these issues.

2 participants