Reconfigure for forgejo/woodpecker
Some checks failed
ci/woodpecker/push/build Pipeline failed
ci/woodpecker/push/lint Pipeline was successful
ci/woodpecker/manual/verify/4 Pipeline is pending
ci/woodpecker/manual/verify/5 Pipeline is pending
ci/woodpecker/manual/lint Pipeline was successful
ci/woodpecker/manual/verify/1 Pipeline was successful
ci/woodpecker/manual/build Pipeline was successful
ci/woodpecker/manual/verify/3 Pipeline failed
ci/woodpecker/manual/verify/2 Pipeline failed

This commit is contained in:
Stephan Schnabel 2025-05-30 23:02:48 +02:00
parent 9552221cc4
commit 7b180bcf15
Signed by: stephan.schnabel
SSH key fingerprint: SHA256:99zuzxNGFb5/5P+E/O7ONU2qhUojUe/D8rIPTW+9Xp0
14 changed files with 193 additions and 199 deletions

View file

@ -1,10 +1,10 @@
# Keycloak Metrics
Provides metrics for Keycloak user/admin events and user/client/session count. Tested on Keycloak [22-26](.github/workflows/pr.yaml#L48-L53).
Provides metrics for Keycloak user/admin events and user/client/session count. Tested on Keycloak [22-26](.woodpecker/verify.yaml#L7-L11).
[![Apache License, Version 2.0, January 2004](https://img.shields.io/github/license/kokuwaio/keycloak-event-metrics.svg?label=License)](http://www.apache.org/licenses/)
[![Maven Central](https://img.shields.io/maven-central/v/io.kokuwa.keycloak/keycloak-event-metrics.svg?label=Maven%20Central)](https://central.sonatype.com/search?namespace=io.kokuwa.keycloak&q=keycloak-event-metrics)
[![Build](https://img.shields.io/github/actions/workflow/status/kokuwaio/keycloak-event-metrics/build.yaml?label=Build)](https://github.com/kokuwaio/keycloak-event-metrics/actions/workflows/build.yaml)
[![Build](https://ci.kokuwa.io/api/badges/keycloak/keycloak-event-metrics/status.svg)](https://ci.kokuwa.io/api/badges/keycloak/keycloak-event-metrics/)
## Why?
@ -114,7 +114,7 @@ If scrapping takes less than `KC_METRICS_STATS_INFO_THRESHOLD` duration will be
### Grafana Dashboard
Can be found here: [kokuwaio/keycloak keycloak-metrics.json](https://github.com/kokuwaio/keycloak/blob/main/src/test/k3s/dev/grafana/files/dashboards/keycloak-metrics.json)
Can be found here: [keycloak-metrics.json](https://git.kokuwa.io/keycloak/keycloak/blob/main/src/test/k3s/dev/grafana/files/dashboards/keycloak-metrics.json)
### Testcontainers
@ -131,7 +131,7 @@ This images are based on busybox, so you can use cp to copy the jar into your ke
### Docker
Check: [kokuwaio/keycloak](https://github.com/kokuwaio/keycloak)
Check: [kowaio/keycloak](https://git.kokuwa.io/keycloak/keycloak)
Dockerfile:
@ -145,7 +145,7 @@ FROM debian:stable-slim AS metrics
RUN apt-get -qq update
RUN apt-get -qq install --yes --no-install-recommends ca-certificates wget
ARG METRICS_VERSION=1.0.0
ARG METRICS_VERSION=1.1.1
ARG METRICS_FILE=keycloak-event-metrics-${METRICS_VERSION}.jar
ARG METRICS_URL=https://repo1.maven.org/maven2/io/kokuwa/keycloak/keycloak-event-metrics/${METRICS_VERSION}
@ -159,7 +159,7 @@ RUN mv ${METRICS_FILE} /opt/keycloak/providers
### build keycloak with metrics
###
FROM quay.io/keycloak/keycloak:25.0.1
FROM quay.io/keycloak/keycloak:25.2.5
ENV KEYCLOAK_ADMIN=admin
ENV KEYCLOAK_ADMIN_PASSWORD=password