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

Allow the use of the new OpenMetrics implementation #9588

Merged
merged 29 commits into from
Aug 10, 2021
Merged

Conversation

ChristineTChen
Copy link
Contributor

@ChristineTChen ChristineTChen commented Jun 23, 2021

What does this PR do?

Update Istio integration with OpenmetricsBaseCheckV2.

Motivation

Better performance, especially for large payloads.
Simplify configuration by allowing both istio_mesh_endpoint and istiod_metrics to be enabled in the same instance.

Additional Notes

This is behind a config flag use_openmetrics

V2 version does not support the various endpoints that are no longer supported in istio 1.5 and higher.

Istio 1.5 EOL https://istio.io/latest/news/support/announcing-1.5-eol/

Removed tests for older versions (1.0, 1.2) which have been EOL in 2019 https://istio.io/latest/news/support/announcing-1.2-eol/

Review checklist (to be filled by reviewers)

  • Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
  • PR title must be written as a CHANGELOG entry (see why)
  • Files changes must correspond to the primary purpose of the PR as described in the title (small unrelated changes should have their own PR)
  • PR must have changelog/ and integration/ labels attached

jtappa
jtappa previously approved these changes Jun 23, 2021
Copy link
Contributor

@jtappa jtappa left a comment

Choose a reason for hiding this comment

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

👍🏻 from a docs standpoint, just had one question about potential comma typo

kayayarai
kayayarai previously approved these changes Jun 28, 2021
Copy link
Contributor

@kayayarai kayayarai left a comment

Choose a reason for hiding this comment

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

Docs 👍 , but Jorie's question about line 16 stands

@ChristineTChen ChristineTChen merged commit f28ecce into master Aug 10, 2021
@ChristineTChen ChristineTChen deleted the cc/istio-v2 branch August 10, 2021 14:34
github-actions bot pushed a commit that referenced this pull request Aug 10, 2021
* Allow the use of the new OpenMetrics implementation

* Add use_openmetrics option

* Document service checks

* Update config models

* Remove unused prometheus url

* Update compatibility for V2

* Refactor config logic

* Add type overrides to be backwards compatible

* Override namespace

* Override namespace

* Remove type_overrides

* Add support for message metrics

* Add metadata

* Fix test

* Remove legacy tests for EOL versions

* Refactor test utils

* Update istio/datadog_checks/istio/istio.py

Co-authored-by: Julia <611228+hithwen@users.noreply.github.com>

* remove unused function

* Add comments for V2 tests

* Refactor V2 test to new file

* Fix license header

* Add test with type overrides

* Fix config models

* Fix format for sc

* Fix config models

* Override prometheus

* Fix style

* Update istio/assets/configuration/spec.yaml

Co-authored-by: Kari Halsted <12926135+kayayarai@users.noreply.github.com>

* Enable option by default

Co-authored-by: Julia <611228+hithwen@users.noreply.github.com>
Co-authored-by: Kari Halsted <12926135+kayayarai@users.noreply.github.com> f28ecce
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants