my-shopping-cart's Introduction
my-shopping-cart's People
my-shopping-cart's Issues
Bumping OTel Agent to 1.13.0 causes startup warning messages `MetricStorageRegistry - Found duplicate metric definition...`
Bumping OTel Agent to 1.13.0 causes startup warning messages MetricStorageRegistry - Found duplicate metric definition...
2022-04-21 15:06:10.443 INFO 7635 --- [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1947 ms
[otel.javaagent 2022-04-21 15:06:10:644 +0200] [main] WARN io.opentelemetry.sdk.metrics.internal.state.MetricStorageRegistry - Found duplicate metric definition: jvm.threads.states
at io.opentelemetry.micrometer1shim.OpenTelemetryGauge.<init>(OpenTelemetryGauge.java:43)
at io.opentelemetry.micrometer1shim.OpenTelemetryMeterRegistry.newGauge(OpenTelemetryMeterRegistry.java:71)
at io.micrometer.core.instrument.MeterRegistry.lambda$gauge$1(MeterRegistry.java:298)
...
Causes
- Description [The current number of threads having RUNNABLE state] does not match [The current number of threads having NEW state]
- InstrumentDescription [The current number of threads having RUNNABLE state] does not match [The current number of threads having NEW state]
Original instrument registered with same name but is incompatible.
at io.opentelemetry.micrometer1shim.OpenTelemetryGauge.<init>(OpenTelemetryGauge.java:43)
at io.opentelemetry.micrometer1shim.OpenTelemetryMeterRegistry.newGauge(OpenTelemetryMeterRegistry.java:71)
at io.micrometer.core.instrument.MeterRegistry.lambda$gauge$1(MeterRegistry.java:298)
...
[otel.javaagent 2022-04-21 15:06:10:645 +0200] [main] WARN io.opentelemetry.sdk.metrics.internal.state.MetricStorageRegistry - Found duplicate metric definition: jvm.threads.states
at io.opentelemetry.micrometer1shim.OpenTelemetryGauge.<init>(OpenTelemetryGauge.java:43)
at io.opentelemetry.micrometer1shim.OpenTelemetryMeterRegistry.newGauge(OpenTelemetryMeterRegistry.java:71)
...
Causes
- Description [The current number of threads having BLOCKED state] does not match [The current number of threads having NEW state]
- InstrumentDescription [The current number of threads having BLOCKED state] does not match [The current number of threads having NEW state]
Original instrument registered with same name but is incompatible.
at io.opentelemetry.micrometer1shim.OpenTelemetryGauge.<init>(OpenTelemetryGauge.java:43)
at io.opentelemetry.micrometer1shim.OpenTelemetryMeterRegistry.newGauge(OpenTelemetryMeterRegistry.java:71)
...
[otel.javaagent 2022-04-21 15:06:10:646 +0200] [main] WARN io.opentelemetry.sdk.metrics.internal.state.MetricStorageRegistry - Found duplicate metric definition: jvm.threads.states
at io.opentelemetry.micrometer1shim.OpenTelemetryGauge.<init>(OpenTelemetryGauge.java:43)
at io.opentelemetry.micrometer1shim.OpenTelemetryMeterRegistry.newGauge(OpenTelemetryMeterRegistry.java:71)
at io.micrometer.core.instrument.MeterRegistry.lambda$gauge$1(MeterRegistry.java:298)
...
Causes
- Description [The current number of threads having WAITING state] does not match [The current number of threads having BLOCKED state]
- InstrumentDescription [The current number of threads having WAITING state] does not match [The current number of threads having BLOCKED state]
Original instrument registered with same name but is incompatible.
at io.opentelemetry.micrometer1shim.OpenTelemetryGauge.<init>(OpenTelemetryGauge.java:43)
at io.opentelemetry.micrometer1shim.OpenTelemetryMeterRegistry.newGauge(OpenTelemetryMeterRegistry.java:71)
...
[otel.javaagent 2022-04-21 15:06:10:646 +0200] [main] WARN io.opentelemetry.sdk.metrics.internal.state.MetricStorageRegistry - Found duplicate metric definition: jvm.threads.states
at io.opentelemetry.micrometer1shim.OpenTelemetryGauge.<init>(OpenTelemetryGauge.java:43)
at io.opentelemetry.micrometer1shim.OpenTelemetryMeterRegistry.newGauge(OpenTelemetryMeterRegistry.java:71)
at io.micrometer.core.instrument.MeterRegistry.lambda$gauge$1(MeterRegistry.java:298)
...
Causes
- Description [The current number of threads having TIMED_WAITING state] does not match [The current number of threads having BLOCKED state]
- InstrumentDescription [The current number of threads having TIMED_WAITING state] does not match [The current number of threads having BLOCKED state]
Original instrument registered with same name but is incompatible.
at io.opentelemetry.micrometer1shim.OpenTelemetryGauge.<init>(OpenTelemetryGauge.java:43)
at io.opentelemetry.micrometer1shim.OpenTelemetryMeterRegistry.newGauge(OpenTelemetryMeterRegistry.java:71)
at io.micrometer.core.instrument.MeterRegistry.lambda$gauge$1(MeterRegistry.java:298)
...
[otel.javaagent 2022-04-21 15:06:10:647 +0200] [main] WARN io.opentelemetry.sdk.metrics.internal.state.MetricStorageRegistry - Found duplicate metric definition: jvm.threads.states
at io.opentelemetry.micrometer1shim.OpenTelemetryGauge.<init>(OpenTelemetryGauge.java:43)
at io.opentelemetry.micrometer1shim.OpenTelemetryMeterRegistry.newGauge(OpenTelemetryMeterRegistry.java:71)
at io.micrometer.core.instrument.MeterRegistry.lambda$gauge$1(MeterRegistry.java:298)
...
Causes
- Description [The current number of threads having TERMINATED state] does not match [The current number of threads having TIMED_WAITING state]
- InstrumentDescription [The current number of threads having TERMINATED state] does not match [The current number of threads having TIMED_WAITING state]
Original instrument registered with same name but is incompatible.
at io.opentelemetry.micrometer1shim.OpenTelemetryGauge.<init>(OpenTelemetryGauge.java:43)
at io.opentelemetry.micrometer1shim.OpenTelemetryMeterRegistry.newGauge(OpenTelemetryMeterRegistry.java:71)
at io.micrometer.core.instrument.MeterRegistry.lambda$gauge$1(MeterRegistry.java:298)
...
[otel.javaagent 2022-04-21 15:06:10:652 +0200] [main] WARN io.opentelemetry.sdk.metrics.internal.state.MetricStorageRegistry - Found duplicate metric definition: logback.events
at io.opentelemetry.micrometer1shim.OpenTelemetryCounter.<init>(OpenTelemetryCounter.java:43)
at io.opentelemetry.micrometer1shim.OpenTelemetryMeterRegistry.newCounter(OpenTelemetryMeterRegistry.java:76)
at io.micrometer.core.instrument.MeterRegistry.lambda$registerMeterIfNecessary$5(MeterRegistry.java:562)
...
Causes
- Description [Number of warn level events that made it to the logs] does not match [Number of error level events that made it to the logs]
- InstrumentDescription [Number of warn level events that made it to the logs] does not match [Number of error level events that made it to the logs]
Original instrument registered with same name but is incompatible.
at io.opentelemetry.micrometer1shim.OpenTelemetryCounter.<init>(OpenTelemetryCounter.java:43)
at io.opentelemetry.micrometer1shim.OpenTelemetryMeterRegistry.newCounter(OpenTelemetryMeterRegistry.java:76)
at io.micrometer.core.instrument.MeterRegistry.lambda$registerMeterIfNecessary$5(MeterRegistry.java:562)
at io.micrometer.core.instrument.MeterRegistry.getOrCreateMeter(MeterRegistry.java:620)
...
Detailed startup logs
https://gist.github.com/cyrille-leclerc/40e94da3b81083fa8b1b6b441d8d8639
describe local dev pipeline
for local collector dev
#!/bin/bash
set -euo pipefail
pushd /home/gregor/source/opentelemetry-collector-contrib
tag="$(git rev-parse --abbrev-ref HEAD)-$(git rev-parse --short HEAD)$([[ -n $(git status -s) ]] && echo '-dirty')-$(date -u +%Y%m%dT%H%M%S)"
echo "Tag: $tag"
sed -i "s|Version: \".*\"|Version: \"$tag\"|" /home/gregor/source/opentelemetry-collector-contrib/cmd/otelcontribcol/main.go
sed -i "s|image: otel-lgtm:.*|image: otel-lgtm:$tag|" /home/gregor/source/my-shopping-cart/k8s/lgtm.yaml
make otelcontribcol && cp ./bin/otelcontribcol_linux_amd64 /home/gregor/source/docker-otel-lgtm/docker/otelcol-contrib
pushd /home/gregor/source/docker-otel-lgtm/
docker buildx build -f docker/Dockerfile docker -t otel-lgtm:$tag
popd
popd
k3d cluster create my-shopping-cart || true
k3d image import -c my-shopping-cart otel-lgtm:$tag
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.