nodesource / nsolid

N|Solid Runtime
Other
61 stars 4 forks source link

Multiple changes/fixes in preparation for gRPC #198

Closed santigimeno closed 1 month ago

santigimeno commented 1 month ago
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
santigimeno commented 1 month ago

Landed in 1c2215d1f76054f63fab8f0949a8279fe83b1e95...831810c3e695c5511fc396e24cfd8564963744b2