8000 Show OpenTelemetry Metrics feature in community build, but allow downstream projects to hide it by michalvavrik · Pull Request #49002 · keycloak/keycloak · GitHub
[go: up one dir, main page]

Skip to content

Show OpenTelemetry Metrics feature in community build, but allow downstream projects to hide it - #49002

Merged
shawkins merged 1 commit into
keycloak:mainfrom
michalvavrik:chore/exclude-micrometer-bridge-from-prod
May 15, 2026
Merged

shawkins merged 1 commit into
keycloak:mainfrom
michalvavrik:chore/exclude-micrometer-bridge-from-prod

Conversation

@michalvavrik
@michalvavrik michalvavrik commented May 14, 2026 •
Copy link
Copy Markdown
Member

@michalvavrik
michalvavrik requested review from a team as code owners May 14, 2026 15:59
@michalvavrik
michalvavrik force-pushed the chore/exclude-micrometer-bridge-from-prod branch from 916c5ec to f103de5 Compare May 14, 2026 16:39
* Closes: keycloak#48997

Signed-off-by: Michal Vavřík <michal.vavrik@aol.com>
@michalvavrik
michalvavrik force-pushed the chore/exclude-micrometer-bridge-from-prod branch from f103de5 to 23bb077 Compare May 14, 2026 16:48
@michalvavrik
michalvavrik requested review from mabartos and vmuzikar May 14, 2026 17:16
@michalvavrik
Copy link
Copy Markdown
Member Author

Failures are not related, if someone from reviewers can just trigger rerun of failed tests that would be appreciated. I think pushing just to trigger full build is like rolling dice.

@vmuzikar
vmuzikar requested a review from shawkins May 15, 2026 06:32
@shawkins shawkins left a comment •
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM. Thanks @michalvavrik

I'll wait for a review from @vmuzikar or @mabartos before merging.

@mabartos mabartos left a comment
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

OPENTELEMETRY("OpenTelemetry support", Type.DEFAULT),
OPENTELEMETRY_LOGS("OpenTelemetry Logs support", Type.PREVIEW, OPENTELEMETRY),
OPENTELEMETRY_METRICS("Micrometer to OpenTelemetry bridge support for metrics", Type.EXPERIMENTAL, OPENTELEMETRY),
OPENTELEMETRY_METRICS("Micrometer to OpenTelemetry bridge support for metrics", Type.EXPERIMENTAL, 1, false, true,
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Out of scope - These enum constructors are getting to be really fun to manage 😁 We really need some better approach, like the Features SPI.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Yep, there should at least be a state builder or something.

@shawkins
shawkins merged commit fc667a8 into keycloak:main May 15, 2026
156 of 160 checks passed
@michalvavrik
michalvavrik deleted the chore/exclude-micrometer-bridge-from-prod branch May 15, 2026 12:10
michalvavrik added a commit to michalvavrik/keycloak that referenced this pull request May 15, 2026
…9002)

* Closes: keycloak#48997

Signed-off-by: Michal Vavřík <michal.vavrik@aol.com>
(cherry picked from commit fc667a8)
Signed-off-by: Michal Vavřík <michal.vavrik@aol.com>
vmuzikar added a commit that referenced this pull request May 19, 2026
@stianst stianst mentioned this pull request Jun 1, 2026
sashyo pushed a commit to tide-foundation/keycloak-IGA that referenced this pull request Jul 20, 2026
…9002)

* Closes: keycloak#48997

Signed-off-by: Michal Vavřík <michal.vavrik@aol.com>
sashyo pushed a commit to tide-foundation/keycloak-IGA that referenced this pull request Jul 20, 2026
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.

OpenTelemetry Metrics experimental feature should only be visible in community build

3 participants

0