Skip to content

Commit

Permalink
Add dependency for metrics
Browse files Browse the repository at this point in the history
- add micrometer-registry-prometheus dependency
- remove deprecated secret reference

Issue-ID: PORTALNG-129
Change-Id: Ic60e6fb30be7d562d267aac580c03821de459db9
Signed-off-by: benzelleroehr <[email protected]>
  • Loading branch information
benzelleroehr committed Dec 10, 2024
1 parent 00ea721 commit a4f7194
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/gerrit-verify.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,6 @@ jobs:
GERRIT_PATCHSET_REVISION: ${{ inputs.GERRIT_PATCHSET_REVISION }}
GERRIT_PROJECT: ${{ inputs.GERRIT_PROJECT }}
GERRIT_REFSPEC: ${{ inputs.GERRIT_REFSPEC }}
secrets:
NEXUS_IQ_PASSWORD: ${{ secrets.NEXUS_IQ_PASSWORD }}
vote:
if: ${{ always() }}
# yamllint enable rule:line-length
Expand All @@ -98,4 +96,4 @@ jobs:
gerrit-change-number: ${{ inputs.GERRIT_CHANGE_NUMBER }}
gerrit-patchset-number: ${{ inputs.GERRIT_PATCHSET_NUMBER }}
vote-type: ${{ env.WORKFLOW_CONCLUSION }}
comment-only: true
comment-only: true
10 changes: 5 additions & 5 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,10 @@ dependencies {
implementation "org.zalando:problem:$problemVersion"
implementation "net.logstash.logback:logstash-logback-encoder:$logstashLogbackVersion"

implementation(platform("io.micrometer:micrometer-tracing-bom:$micrometerVersion"))
implementation("io.micrometer:micrometer-tracing")
implementation("io.micrometer:micrometer-tracing-bridge-otel")
implementation("io.opentelemetry:opentelemetry-exporter-zipkin")
implementation 'io.micrometer:micrometer-tracing'
implementation 'io.micrometer:micrometer-tracing-bridge-otel'
implementation 'io.opentelemetry:opentelemetry-exporter-zipkin'
implementation 'io.micrometer:micrometer-registry-prometheus'

compileOnly 'org.projectlombok:lombok'

Expand Down Expand Up @@ -116,4 +116,4 @@ def Properties getVersionProperties() {
versionProperties.load(it)
}
return versionProperties
}
}

0 comments on commit a4f7194

Please sign in to comment.