Skip to content
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

Merged
merged 8 commits into from Jul 20, 2018
Merged

Add OpenShift integration metadata #1902

merged 8 commits into from Jul 20, 2018

Conversation

xvello
Copy link
Contributor

@xvello xvello commented Jul 18, 2018

What does this PR do?

This PR introduces the "virtual" OpenShift integration, for metrics added in DataDog/datadog-agent#1945

Review checklist

  • PR has a meaningful title or PR has the no-changelog label attached
  • Feature or bugfix has tests
  • Git history is clean
  • If PR impacts documentation, docs team has been notified or an issue has been opened on the documentation repo

Additional Notes

Anything else we should know when reviewing?

@xvello xvello requested a review from a team as a code owner July 18, 2018 13:20
@xvello xvello requested a review from l0k0ms July 18, 2018 13:22
The link is not working right now, but will once merged
l0k0ms
l0k0ms previously approved these changes Jul 18, 2018
Copy link
Contributor

@l0k0ms l0k0ms left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👌

Copy link
Contributor

@zippolyte zippolyte left a 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,
Copy link
Contributor

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 ?

Copy link
Contributor Author

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

Copy link
Contributor

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
Copy link
Contributor

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

@zippolyte
Copy link
Contributor

No transparent background for the avatars-bot logo ?

zippolyte
zippolyte previously approved these changes Jul 18, 2018
Copy link
Contributor

@zippolyte zippolyte left a 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

@xvello
Copy link
Contributor Author

xvello commented Jul 18, 2018

@zippolyte Indeed, PR ready and waiting for RC1 to be out :)


## 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.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

spelling check: additional


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.
Copy link
Contributor

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.

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.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Camelcase OpenShift for consistency.


### Service Checks

The Openshift check does not include any Service Checks at this time.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Camelcase OpenShift for consistency.

@xvello xvello merged commit 08265ca into master Jul 20, 2018
@xvello xvello deleted the xvello/oshift-tile branch July 20, 2018 15:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants