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

Spsh 1195 #772

Merged
merged 60 commits into from
Dec 3, 2024
Merged

Spsh 1195 #772

merged 60 commits into from
Dec 3, 2024

Conversation

AlexanderUngefug
Copy link
Contributor

No description provided.

@AlexanderUngefug AlexanderUngefug self-assigned this Nov 26, 2024
@AlexanderUngefug AlexanderUngefug changed the base branch from main to release-1.0 November 28, 2024 13:13
@AlexanderUngefug AlexanderUngefug merged commit 3e02636 into release-1.0 Dec 3, 2024
31 checks passed
@AlexanderUngefug AlexanderUngefug deleted the SPSH-1195 branch December 3, 2024 11:59
HKayed pushed a commit that referenced this pull request Jan 14, 2025
* fix service monitor settings

* install prom-client, npm audit fix, creating metrics module

* implementing metrics endpoint

* implementing dummy gauge values

* configure scraping with serviceMonitor

* fix linting

* fix serviceMonitor config

* get metrics

* add metrics controller tests

* simple tests

* add tests for findByRollen

* fixing service monitor setting

* add test

* remove comments

* rewrite metrics service test

* implementing MetricsGuard

* fixing type error

* Create metrics.guard.spec.ts

* implementing metrics config

* adding configService to test

* Update config.loader.spec.ts

* set test timeout to 20 minutes

* add coverage mock metrics guard

* fixing metrics controller test

* fixing values yaml

* removing metrics from api

* remove basic auth

* fix route

* remove metrics secret config

* fixing

* remove system variables from secrets to configmap

* refactor reporter to injectable, refactor scope to repo

* ADD INTEGRATION TEST

* refactor folder structure

* fixing tests

* change service monitor interval to 30 min

* Update src/modules/personenkontext/persistence/dbiam-personenkontext.repo.ts

Co-authored-by: Youssef Bouchara <[email protected]>

* Update src/modules/metrics/metrics.controller.ts

Co-authored-by: Youssef Bouchara <[email protected]>

* Update src/modules/metrics/metrics.controller.ts

Co-authored-by: Youssef Bouchara <[email protected]>

* PR feedback

* fixing test

* fix typo

* fix typo

* Update src/modules/metrics/metrics.controller.ts

Co-authored-by: Marvin Rode (Cap) <[email protected]>

* implementing query to get all roles with counts

* fixing unit tests

---------

Co-authored-by: Timo K <[email protected]>
Co-authored-by: Youssef Bouchara <[email protected]>
Co-authored-by: Marvin Rode (Cap) <[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.

4 participants