You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[connector/servicegraph] Update virtual node defaults and change feature gate to beta (#31735)
**Description:**
- Change default values to peer.service, db.name and db.system (in this
order). These are compliant with conventions, and the same as the tempo
service graph uses.
- Switch the feature from "alpha" to "beta". Virtual nodes are working
well on the tempo side, and feature could be disabled anyway by using an
empty list if needed.
- Reword documentation for improved clarity
- Fix "processor" that should be "connector" instead since recent commit
**Link to tracking Issue:**
#31734
**Testing:** No functional change requiring additional tests
**Documentation:** Updated documentation
# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix'
2
+
change_type: breaking
3
+
4
+
# The name of the component, or a single word describing the area of concern, (e.g. filelogreceiver)
5
+
component: connector/servicegraphconnector
6
+
7
+
# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
8
+
note: Change `connector.servicegraph.virtualNode` feature gate from Alpha to Beta (now enabled by default) and change `virtual_node_peer_attributes` default values.
9
+
10
+
# Mandatory: One or more tracking issues related to the change. You can use the PR number here if no issue exists.
11
+
issues: [31734]
12
+
13
+
# If your change doesn't affect end users or the exported elements of any package,
14
+
# you should instead start your pull request title with [chore] or use the "Skip Changelog" label.
15
+
# Optional: The change log or logs in which this entry should be included.
16
+
# e.g. '[user]' or '[user, api]'
17
+
# Include 'user' if the change is relevant to end users.
18
+
# Include 'api' if there is a change to a library API.
- `dimensions`: the list of dimensions to add together with the default dimensions defined above.
@@ -134,8 +134,8 @@ The following settings can be optionally configured:
134
134
- Default: `1m`
135
135
- `store_expiration_loop`: the time to expire old entries from the store periodically.
136
136
- Default: `2s`
137
-
- `virtual_node_peer_attributes`: the list of attributes need to match for building virtual server node, the higher the front, the higher the priority.
- `virtual_node_peer_attributes`: the list of attributes, ordered by priority, whose presence in a client span will result in the creation of a virtual server node. An empty list disables virtual node creation.
138
+
- Default: `[peer.service, db.name, db.system]`
139
139
- `metrics_flush_interval`: the interval at which metrics are flushed to the exporter.
140
140
- Default: Metrics are flushed on every received batch of traces.
141
141
- `database_name_attribute`: the attribute name used to identify the database name from span attributes.
featuregate.WithRegisterDescription("When enabled, when the edge expires, processor checks if it has peer attributes(`db.name, net.sock.peer.addr, net.peer.name, rpc.service, http.url, http.target`), and then aggregate the metrics with virtual node."),
33
+
featuregate.StageBeta,
34
+
featuregate.WithRegisterDescription("When enabled and setting `virtual_node_peer_attributes` is not empty, the connector looks for the presence of these attributes in span to create virtual server nodes."),
0 commit comments