Skip to content

core: Application stats, device events & cleanup - #21225

Merged
BeryJu merged 12 commits into
mainfrom
core/app-stats
Mar 29, 2026
Merged

BeryJu merged 12 commits into
mainfrom
core/app-stats

Conversation

@BeryJu

@BeryJu BeryJu commented Mar 29, 2026

Copy link
Copy Markdown
Member

add stats card to application view & generic API for event-based stats

BeryJu added 3 commits March 29, 2026 18:15
Signed-off-by: Jens Langhammer <[email protected]>
Signed-off-by: Jens Langhammer <[email protected]>
Signed-off-by: Jens Langhammer <[email protected]>
@BeryJu
BeryJu requested review from a team as code owners March 29, 2026 17:01
Signed-off-by: Jens Langhammer <[email protected]>
@netlify

netlify Bot commented Mar 29, 2026

Copy link
Copy Markdown

✅ Deploy Preview for authentik-storybook ready!

Name Link
🔨 Latest commit 32b2332
🔍 Latest deploy log https://app.netlify.com/projects/authentik-storybook/deploys/69c95ae6bdc4880008421f16
😎 Deploy Preview https://deploy-preview-21225--authentik-storybook.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify

netlify Bot commented Mar 29, 2026

Copy link
Copy Markdown

✅ Deploy Preview for authentik-docs ready!

Name Link
🔨 Latest commit 32b2332
🔍 Latest deploy log https://app.netlify.com/projects/authentik-docs/deploys/69c95ae63fbbf100081b085b
😎 Deploy Preview https://deploy-preview-21225--authentik-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

BeryJu added 2 commits March 29, 2026 19:04
Signed-off-by: Jens Langhammer <[email protected]>
Signed-off-by: Jens Langhammer <[email protected]>
@netlify

netlify Bot commented Mar 29, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for authentik-storybook ready!

Name Link
🔨 Latest commit 3510043
🔍 Latest deploy log https://app.netlify.com/projects/authentik-storybook/deploys/69c971ed80f14a0008502c28
😎 Deploy Preview https://deploy-preview-21225--authentik-storybook.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@codecov

codecov Bot commented Mar 29, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 93.75000% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 92.82%. Comparing base (9fc8df0) to head (dd1a95c).
⚠️ Report is 4 commits behind head on main.
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
authentik/events/api/events.py 90.90% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #21225      +/-   ##
==========================================
+ Coverage   92.78%   92.82%   +0.04%     
==========================================
  Files        1004     1004              
  Lines       56884    56926      +42     
  Branches      425      425              
==========================================
+ Hits        52778    52841      +63     
+ Misses       4106     4085      -21     
Flag Coverage Δ
conformance 37.20% <39.58%> (+<0.01%) ⬆️
e2e 42.68% <39.58%> (+0.01%) ⬆️
integration 22.07% <0.00%> (-0.02%) ⬇️
rust 0.23% <ø> (ø)
unit 91.74% <93.75%> (+<0.01%) ⬆️
unit-migrate 91.80% <93.75%> (+0.03%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Signed-off-by: Jens Langhammer <[email protected]>
@github-actions

github-actions Bot commented Mar 29, 2026 •

Copy link
Copy Markdown
Contributor

authentik PR Installation instructions

Instructions for docker-compose

Add the following block to your .env file:

AUTHENTIK_IMAGE=ghcr.io/goauthentik/dev-server
AUTHENTIK_TAG=gh-dd1a95cddec5095e161961fcc20fc16099370dbd
AUTHENTIK_OUTPOSTS__CONTAINER_IMAGE_BASE=ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)s

Afterwards, run the upgrade commands from the latest release notes.

Instructions for Kubernetes

Add the following block to your values.yml file:

authentik:
    outposts:
        container_image_base: ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)s
global:
    image:
        repository: ghcr.io/goauthentik/dev-server
        tag: gh-dd1a95cddec5095e161961fcc20fc16099370dbd

Afterwards, run the upgrade commands from the latest release notes.

BeryJu added 4 commits March 29, 2026 19:58
Signed-off-by: Jens Langhammer <[email protected]>
Signed-off-by: Jens Langhammer <[email protected]>
Signed-off-by: Jens Langhammer <[email protected]>
Signed-off-by: Jens Langhammer <[email protected]>
@BeryJu BeryJu changed the title core: Application stats core: Application stats, device events & cleanup Mar 29, 2026
Signed-off-by: Jens Langhammer <[email protected]>
@BeryJu
BeryJu merged commit d1c997b into main Mar 29, 2026
99 of 100 checks passed
@BeryJu
BeryJu deleted the core/app-stats branch March 29, 2026 19:58
kensternberg-authentik added a commit that referenced this pull request Apr 8, 2026
* main: (52 commits)
  stages/authenticator_webauthn: save attestation certificate when creating credential (#20095)
  web/admin: fix missing icon on app view page (#21251)
  web/elements: allow table per-column options (#21250)
  ci: bump actions/setup-go from 6.3.0 to 6.4.0 (#21245)
  web: bump knip from 6.0.6 to 6.1.0 in /web (#21241)
  web: bump globby from 16.1.1 to 16.2.0 in /web (#21242)
  core: bump types-requests from 2.32.4.20260324 to 2.33.0.20260327 (#21236)
  core: bump types-docker from 7.1.0.20260322 to 7.1.0.20260328 (#21237)
  core: bump aws-cdk-lib from 2.244.0 to 2.245.0 (#21238)
  ci: bump int128/docker-manifest-create-action from 2.16.0 to 2.17.0 (#21244)
  ci: bump astral-sh/setup-uv from 7.6.0 to 8.0.0 in /.github/actions/setup (#21246)
  ci: bump taiki-e/install-action from 2.69.12 to 2.70.2 in /.github/actions/setup (#21247)
  ci: bump actions/setup-go from 6.3.0 to 6.4.0 in /.github/actions/setup (#21248)
  core, web: update translations (#21233)
  translate: Updates for project authentik and language fr_FR (#21214)
  web/admin: polish recent events, various button alignments and labels (#21232)
  outposts: Create separate metrics service in Kubernetes (#21229)
  events: fix exception in volume endpoint, adjust simple table size (#21230)
  core: Application stats, device events & cleanup (#21225)
  core: bump axllent/mailpit from v1.29.4 to v1.29.5 in /tests/e2e (#21226)
  ...
davepgreene pushed a commit to davepgreene/authentik that referenced this pull request Apr 13, 2026
* core: app stats

Signed-off-by: Jens Langhammer <[email protected]>

* refctor

Signed-off-by: Jens Langhammer <[email protected]>

* rework to generic API

Signed-off-by: Jens Langhammer <[email protected]>

* oops

Signed-off-by: Jens Langhammer <[email protected]>

* handling

Signed-off-by: Jens Langhammer <[email protected]>

* fix docs

Signed-off-by: Jens Langhammer <[email protected]>

* more docs

Signed-off-by: Jens Langhammer <[email protected]>

* unrelated fix

Signed-off-by: Jens Langhammer <[email protected]>

* allow filtering events by device

Signed-off-by: Jens Langhammer <[email protected]>

* show device events on device page

Signed-off-by: Jens Langhammer <[email protected]>

* simply event tables

Signed-off-by: Jens Langhammer <[email protected]>

* tests

Signed-off-by: Jens Langhammer <[email protected]>

---------

Signed-off-by: Jens Langhammer <[email protected]>
davepgreene pushed a commit to davepgreene/authentik that referenced this pull request Apr 13, 2026
* core: app stats

Signed-off-by: Jens Langhammer <[email protected]>

* refctor

Signed-off-by: Jens Langhammer <[email protected]>

* rework to generic API

Signed-off-by: Jens Langhammer <[email protected]>

* oops

Signed-off-by: Jens Langhammer <[email protected]>

* handling

Signed-off-by: Jens Langhammer <[email protected]>

* fix docs

Signed-off-by: Jens Langhammer <[email protected]>

* more docs

Signed-off-by: Jens Langhammer <[email protected]>

* unrelated fix

Signed-off-by: Jens Langhammer <[email protected]>

* allow filtering events by device

Signed-off-by: Jens Langhammer <[email protected]>

* show device events on device page

Signed-off-by: Jens Langhammer <[email protected]>

* simply event tables

Signed-off-by: Jens Langhammer <[email protected]>

* tests

Signed-off-by: Jens Langhammer <[email protected]>

---------

Signed-off-by: Jens Langhammer <[email protected]>
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.

1 participant