-
Notifications
You must be signed in to change notification settings - Fork 621
docs(resource-detector-instana): update readme for instana resource detector #2063
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
Conversation
kirrg001
left a comment
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.
The change is not clear to me.
On the README of the resource detectors, there are no details about which values are being detected and what are their respective keys, making it hard to identify what we have available.
Improve documentation, adding a table with the info for all resource detectors.
I suggest to choose different headlines and put a sentence, which describes it.
|
what different headline do you suggest? I'm trying to keep consistent with existing docs for other resource detectors, which use "attributes" and "description" |
0a4040a to
a4abb6e
Compare
|
Since this is about clarifying which resource attributes are being set by the detectors, and what are their sources, I update to. "Resource Attributes" instead of just "Attributes" and updated the description. Let me know if that is better |
ad376c3 to
445d8a6
Compare
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #2063 +/- ##
==========================================
- Coverage 90.97% 90.82% -0.16%
==========================================
Files 146 148 +2
Lines 7492 7672 +180
Branches 1502 1537 +35
==========================================
+ Hits 6816 6968 +152
- Misses 676 704 +28 |
kirrg001
left a comment
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 still don't agree with this table for the public README.
What will a customer do with this table?
The new table you have added is IMO internal logic and should not belong in the public docs. If I am wrong, please explain to me.
The interesting attributes for the customers are:
- the two env variables, which are already documented
- and
[SemanticResourceAttributes.SERVICE_NAME]: "TestService"(documented as well)
The detector reads the process.pid from the process and additionally returns the agentUuid based on the env variables (which isservice.instance.id).
|
Currently, there is no documentation on what values are being set as the resources, this means that if a user wants to know what options they have available, so they can add filters, different types of charts, and so on, the only way of knowing what they have is to look into the actual code or start sending metrics/traces and check the values there, which is not ideal. This table exists for other README, but was missing for others, this is why I created PRs to add to the missing ones. This is a matter of keeping the documentation consistent in all READMEs. This also helps by showing what users can have by default, so they can also add anything that is no there. For example, the |
34f4b45 to
432e1a2
Compare
I am not against the table, I just don't agree with how the table is presented and described.
I'll just approve then. |
Which problem is this PR solving?
Short description of the changes