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 OpenShift integration metadata #1902
Conversation
The link is not working right now, but will once merged
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 👌
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.
Thanks, couple of comments
"name": "openshift", | ||
"display_name": "OpenShift", | ||
"short_description": "The Kubernetes platform for big ideas", | ||
"creates_events": false, |
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.
Should we add the metric_to_check
and metric_prefix
attributes for this integration ?
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.
metric_prefix
for sure, metric_to_check
would be tricky as the quota metrics are only collected if some quotas are set, so we don't have a constant metric for now to work with
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.
Sounds good 👍
@@ -0,0 +1,42 @@ | |||
openshift.clusterquota.cpu.used,gauge,,cpu,,Observed cpu usage by cluster resource quota for all namespaces,0,openshift |
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.
We should keep the headers line here: metric_name,metric_type,interval,unit_name,per_unit_name,description,orientation,integration,short_name
No transparent background for the avatars-bot logo ? |
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.
👍 let's not forget to create the tile when 6.4 is out
@zippolyte Indeed, PR ready and waiting for RC1 to be out :) |
openshift/README.md
Outdated
|
||
## Setup | ||
|
||
Datadog's [Kubernetes integration][1] supports OpenShift versions 3.3 and up. No additionnal setup is required for OpenShift-specific tags to be collected. |
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.
spelling check: additional
openshift/README.md
Outdated
|
||
Datadog's [Kubernetes integration][1] supports OpenShift versions 3.3 and up. No additionnal setup is required for OpenShift-specific tags to be collected. | ||
|
||
[Cluster resource quota][2] metrics are collected by the leader agent, you must [configure the Agent event collection and leader election][3] in order to send them to your Datadog application. |
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.
[Cluster resource quota][2] metrics are collected by the leader agent. Configure the Agent event collection and leader election][3] in order to send metrics to Datadog.
Also, if "agent" in the first sentence refers to the Datadog Agent, capitalize Agent.
openshift/README.md
Outdated
See [metadata.csv][4] for a list of metrics provided by this check. | ||
|
||
### Events | ||
The Openshift check does not include any events at this time. |
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.
Camelcase OpenShift for consistency.
openshift/README.md
Outdated
|
||
### Service Checks | ||
|
||
The Openshift check does not include any Service Checks at this time. |
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.
Camelcase OpenShift for consistency.
What does this PR do?
This PR introduces the "virtual" OpenShift integration, for metrics added in DataDog/datadog-agent#1945
Review checklist
no-changelog
label attachedAdditional Notes
Anything else we should know when reviewing?