-
Notifications
You must be signed in to change notification settings - Fork 488
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
Add metrics and resource attribute config options from vcentereceiver in docs and tests #5813
Conversation
require.Equal(t, false, otelArgs.Metrics.VcenterClusterCPUEffective.Enabled) | ||
require.Equal(t, true, otelArgs.Metrics.VcenterClusterCPULimit.Enabled) |
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.
require.Equal(t, false, otelArgs.Metrics.VcenterClusterCPUEffective.Enabled) | |
require.Equal(t, true, otelArgs.Metrics.VcenterClusterCPULimit.Enabled) | |
require.False(t, otelArgs.Metrics.VcenterClusterCPUEffective.Enabled) | |
require.True(t, otelArgs.Metrics.VcenterClusterCPULimit.Enabled) |
I think this is clearer, but I'm happy if you leave it as it is.
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.
done
docs/sources/flow/reference/components/otelcol.receiver.vcenter.md
Outdated
Show resolved
Hide resolved
…r.md Co-authored-by: Paulin Todev <[email protected]>
@@ -92,6 +96,77 @@ isn't provided, TLS won't be used for connections to the server. | |||
|
|||
{{< docs/shared lookup="flow/reference/components/otelcol-tls-config-block.md" source="agent" version="<AGENT VERSION>" >}} | |||
|
|||
### metrics block | |||
|
|||
Name | Type | Description | Default | Required |
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.
Do you mind making metric
in the Type
column a hyperlink to #### metric block
please?
BTW After we get consensus on #5764, I might need to rework this doc to be in line with that future desicion.
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.
LGTM. You could address the hyperlink comment and the other comments from #5715 in a separate PR. I think the docs now look pretty good for a first release 👌
… in docs and tests (#5813) Co-authored-by: Paulin Todev <[email protected]> (cherry picked from commit 6c028c0)
… in docs and tests (#5813) (#5825) Co-authored-by: Paulin Todev <[email protected]> (cherry picked from commit 6c028c0) Co-authored-by: Marc Tudurí <[email protected]>
PR Description
After merging #5715 we identified a couple of things to be done in a follow up PR.
This PR adds the missing configurable fields from vcenter receiver to its documentations site.
It also adds case scenarios for config conversion.
PR Checklist