miracum / fhir-pseudonymizer

A REST service to pseudonymize and anonymize FHIR® resources.
MIT License
15 stars 2 forks source link

feat(metrics): expose metrics endpoint on a dedicated port (default: 8081) #70

Closed chgl closed 1 year ago

github-actions[bot] commented 1 year ago

🦙 MegaLinter status: ✅ SUCCESS

Descriptor Linter Files Fixed Errors Elapsed time
✅ CSHARP dotnet-format 2 0 7.41s
✅ DOCKERFILE hadolint 1 0 0.08s
✅ EDITORCONFIG editorconfig-checker 6 0 0.01s
✅ JSON eslint-plugin-jsonc 1 0 0.93s
✅ JSON jsonlint 1 0 0.24s
✅ JSON npm-package-json-lint yes no 0.41s
✅ JSON prettier 1 0 0.42s
✅ JSON v8r 1 0 2.26s
✅ MARKDOWN markdownlint 1 0 0.35s
✅ MARKDOWN markdown-link-check 1 0 3.9s
✅ REPOSITORY checkov yes no 12.46s
✅ REPOSITORY dustilock yes no 0.01s
✅ REPOSITORY gitleaks yes no 0.19s
✅ REPOSITORY git_diff yes no 0.01s
✅ REPOSITORY secretlint yes no 0.93s
✅ REPOSITORY syft yes no 0.55s
✅ REPOSITORY trivy yes no 5.36s
✅ YAML prettier 1 0 0.41s
✅ YAML v8r 1 0 0.99s
✅ YAML yamllint 1 0 0.23s

See detailed report in MegaLinter reports _Set VALIDATE_ALL_CODEBASE: true in mega-linter.yml to validate all sources, not only the diff_

_MegaLinter is graciously provided by OX Security_

github-actions[bot] commented 1 year ago

Code Coverage

Package Line Rate Branch Rate Health
FhirPseudonymizer.Tests 99% 100% ✔
FhirPseudonymizer 77% 72% ✔
Summary 81% (482 / 592) 74% (59 / 80) ✔

Minimum allowed line rate is 50%


iter8 report


Experiment summary:
*******************

  Experiment completed: true
  No task failures: true
  Total number of tasks: 7
  Number of completed tasks: 7

Whether or not service level objectives (SLOs) are satisfied:
*************************************************************

  SLO Conditions                 | Satisfied
  --------------                 | ---------
  http/error-count <= 0          | true
  http/latency-mean (msec) <= 25 | true
  http/latency-p99 (msec) <= 50  | true

Latest observed values for metrics:
***********************************

  Metric                     | value
  -------                    | -----
  http/error-count           | 0.00
  http/error-rate            | 0.00
  http/latency-max (msec)    | 1210.80
  http/latency-mean (msec)   | 9.03
  http/latency-min (msec)    | 2.67
  http/latency-p50 (msec)    | 7.87
  http/latency-p75 (msec)    | 9.76
  http/latency-p90 (msec)    | 12.63
  http/latency-p95 (msec)    | 15.67
  http/latency-p99 (msec)    | 26.22
  http/latency-p99.9 (msec)  | 57.24
  http/latency-stddev (msec) | 15.79
  http/request-count         | 25000.00
miracum-bot commented 1 year ago

:tada: This PR is included in version 2.15.0 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: