Skip to content

Next -> Main #1711

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

Merged
merged 25 commits into from
Mar 31, 2023
Merged

Next -> Main #1711

merged 25 commits into from
Mar 31, 2023

Conversation

csviri
Copy link
Collaborator

@csviri csviri commented Jan 10, 2023

No description provided.

metacosm and others added 17 commits March 27, 2023 11:25
Generate a Versions file to be consumed at runtime

Co-authored-by: Andrea Peruffo <[email protected]>
Also remove unneeded implementation of NamespaceChangeable
Also document how to use a different implementation instead of the
okhttp one which is the default one and currently, the one we recommend
to use. Vert.X implementation is also coming along nicely. JDK
implementation should work if you're using Java 17 and up, and will work
with 11 when some bug fixes land in 11.
csviri and others added 3 commits March 27, 2023 11:27
* feat: remove CR meters when they are deleted (after a delay)

Fixes #1803.

Also added documentation for the Metrics feature.
csviri and others added 5 commits March 27, 2023 12:40
* fix: flaky special integration test

* fix format
* feat: bounded cache for informers (#1718)

* fix: typo caffein -> caffeine (#1795)

* feat: now possible to only output non-resource related metrics

Fixes #1812.

* refactor: extract abstract test fixture to add tests with variations

* fix: add missing annotation

* tests: add more test variations

* fix: make operator non-static so it's registered once per test subclass

* feat: introduce builder for MicrometerMetrics, fix test

* fix: exclude more tags when not collecting per resource

* fix: registry should be per-instance to ensure test independence

* fix: make sure we wait a little to ensure event is properly processed

* fix: make things work on Java 11, format

* fix: also clean metrics on finalizer removal

This is needed because the finalizer will trigger a reconciliation that
adds a resource-specific metric.

* fix: format

* refactor: extract common tags

Co-authored-by: Sébastien CROCQUESEL <[email protected]>

* feat: make per-resource collecting finer-grained

We now still collect GVK information when per-resource collection is
switched off.

* fix: do not create tag for group if not present

* fix: remove unreliable no-delay implementation, defaulting to 1s delay

* refactor: renamed & documented factory methods to make things clearer

* docs: updated metrics section for code changes

* feat: avoid emitting tag on empty value

* docs: update

* fix: format

[skip ci]

* refactor: use Tag more directly, avoid unneeded work, use constants

* fix: change will happen instead of might

* docs: add missing timer

Co-authored-by: Sébastien CROCQUESEL <[email protected]>

* docs: fix wrong & missing information

* refactor: add constants

* fix: wording

[skip ci]

Co-authored-by: Attila Mészáros <[email protected]>

---------

Co-authored-by: Attila Mészáros <[email protected]>
Co-authored-by: Sébastien CROCQUESEL <[email protected]>
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 24 Code Smells

32.8% 32.8% Coverage
0.0% 0.0% Duplication

@csviri csviri merged commit b410c65 into main Mar 31, 2023
@csviri csviri deleted the next branch March 31, 2023 08:10
@csviri csviri temporarily deployed to github-pages March 31, 2023 08:11 — with GitHub Pages Inactive
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.

2 participants