feat(otelcol/connector/servicegraph): add virtual_node_peer_attributes setting to the component#879
Conversation
…es` setting to the component Signed-off-by: hainenber <dotronghai96@gmail.com>
docs/sources/reference/components/otelcol.connector.servicegraph.md
Outdated
Show resolved
Hide resolved
Co-authored-by: William Dumont <william.dumont@grafana.com>
Signed-off-by: hainenber <dotronghai96@gmail.com>
|
waiting for @clayton-cornell feedback on the doc before merging it |
docs/sources/reference/components/otelcol.connector.servicegraph.md
Outdated
Show resolved
Hide resolved
docs/sources/reference/components/otelcol.connector.servicegraph.md
Outdated
Show resolved
Hide resolved
docs/sources/reference/components/otelcol.connector.servicegraph.md
Outdated
Show resolved
Hide resolved
…telcol-connector-servicegraph
Co-authored-by: Paulin Todev <paulin.todev@gmail.com> Co-authored-by: Clayton Cornell <131809008+clayton-cornell@users.noreply.github.com>
Co-authored-by: Clayton Cornell <131809008+clayton-cornell@users.noreply.github.com>
Signed-off-by: hainenber <dotronghai96@gmail.com>
…telcol-connector-servicegraph
|
All fine by me :D |
clayton-cornell
left a comment
There was a problem hiding this comment.
Still in passive voice, but leaving it as it gets the technical point across.
|
|
||
| When `metrics_flush_interval` is set to `0s`, metrics will be flushed on every received batch of traces. | ||
|
|
||
| `virtual_node_peer_attributes` is useful when an OTel-instrumented client sends a request to a service which is not OTel-instrumented. |
There was a problem hiding this comment.
| `virtual_node_peer_attributes` is useful when an OTel-instrumented client sends a request to a service which is not OTel-instrumented. | |
| `virtual_node_peer_attributes` is useful when an OTel-instrumented client sends a request to a service that is not OTel-instrumented. |
|
|
||
| If no client span is found and `virtual_node_peer_attributes` is not an empty list, | ||
| then the service span will be paired with a virtual node called `client="user"`. | ||
| This can be useful when a client which is not OTel-instrumented (like a web browser) sends a request to an OTel-instrumented service. |
There was a problem hiding this comment.
| This can be useful when a client which is not OTel-instrumented (like a web browser) sends a request to an OTel-instrumented service. | |
| This can be useful when a client that is not OTel-instrumented (like a web browser) sends a request to an OTel-instrumented service. |
| When `metrics_flush_interval` is set to `0s`, metrics will be flushed on every received batch of traces. | ||
|
|
||
| `virtual_node_peer_attributes` is useful when an OTel-instrumented client sends a request to a service which is not OTel-instrumented. | ||
| Normally, `otelcol.connector.servicegraph` wouldn't be able to pair the client span with a service span, |
There was a problem hiding this comment.
| Normally, `otelcol.connector.servicegraph` wouldn't be able to pair the client span with a service span, | |
| Normally, `otelcol.connector.servicegraph` wouldn't be able to pair the client span with a service span |
|
This PR has not had any activity in the past 30 days, so the |
|
|
1 similar comment
|
|
|
@hainenber I'll close this one in favour of #5058, which is up to date and includes an additional config argument. There is still a feature gate but since it's enabled by default I don't think it's a problem. I suppose that the feature gate was either disabled by default at the time of your PR, or we missed the fact that it's not that important 😅 |
PR Description
Add the virtual_node_peer_attributes setting to otelcol.connector.servicegraph. Thanks @erikbaranowski for creating the foundation already!
The default attributes are reduced to be identical to upstream
Which issue(s) this PR fixes
Closes #861
Notes to the Reviewer
PR Checklist