-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
[connector/servicegraphconnector] Adds a new config option allowing an extra label for virtual node identification #32826
Merged
jpkrohling
merged 26 commits into
open-telemetry:main
from
t00mas:extra-labels-for-service-graphs
Jun 20, 2024
Merged
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
cff9427
add virtual_node label & tests
t00mas 2400a2d
fix & tests
t00mas 79064f5
add extra label and harden tests
t00mas 9ac68a9
add tests for extra dimensions with trace
t00mas eb107bf
removing unnecessary improvements in favor of golden
t00mas b3ed312
lint yaml
t00mas a41614e
resolve expired edge flushing & flakiness
t00mas a38f010
fix newConnector usage
t00mas cff100e
update golden & pdatatest
t00mas e99f941
make fmt
jpkrohling 30bdc11
crosslink
jpkrohling a11082d
remove flakyness from tests
t00mas 1d04cd4
Merge branch 'main' into extra-labels-for-service-graphs
t00mas 6a6789a
Merge branch 'main' into extra-labels-for-service-graphs
t00mas b04aca4
Merge branch 'main' into extra-labels-for-service-graphs
t00mas 8709bee
Merge branch 'main' into extra-labels-for-service-graphs
t00mas d99dc78
go mod tidy
t00mas 3f978dd
fix signature in test
t00mas a6e46e7
fix conflict
t00mas faef5c7
Merge branch 'main' into extra-labels-for-service-graphs
t00mas d37f522
fully separate tests
t00mas b240fd4
add a goroutine-safe way to retrieve test metrics
t00mas e03f97d
use assert eventually for store flushing
t00mas 2f45995
Merge branch 'main' into extra-labels-for-service-graphs
t00mas 8650f08
go mod tidy
t00mas bbbaa1c
Merge branch 'main' into extra-labels-for-service-graphs
jpkrohling File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# Use this changelog template to create an entry for release notes. | ||
|
||
# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix' | ||
change_type: enhancement | ||
|
||
# The name of the component, or a single word describing the area of concern, (e.g. filelogreceiver) | ||
component: servicegraphprocessor | ||
|
||
# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). | ||
note: "Added a new configuration option `enable_virtual_node_label` to allow users to identify which node is the virtual node in each edge of the service graph." | ||
|
||
# Mandatory: One or more tracking issues related to the change. You can use the PR number here if no issue exists. | ||
issues: [31889] | ||
|
||
# (Optional) One or more lines of additional information to render under the primary note. | ||
# These lines will be padded with 2 spaces and then inserted directly into the document. | ||
# Use pipe (|) for multiline entries. | ||
subtext: | ||
|
||
# If your change doesn't affect end users or the exported elements of any package, | ||
# you should instead start your pull request title with [chore] or use the "Skip Changelog" label. | ||
# Optional: The change log or logs in which this entry should be included. | ||
# e.g. '[user]' or '[user, api]' | ||
# Include 'user' if the change is relevant to end users. | ||
# Include 'api' if there is a change to a library API. | ||
# Default: '[user]' | ||
change_logs: [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I understand we only want to add this label if the edge has a virtual node, right? We should check that
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could be - it's an easy addition, we probably just change to:
however, is it better to not have it, or to have
virtual_node:
with an empty value when this option is enabled?I'm leaning towards having the label anyway with an empty value, but not 100% convinced of that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it can be confusing, but I don't have a strong opinion on it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK then, I'll opt for leaving it with an empty value sometimes but always present. We can review this if it's an issue.