Skip to content

Instantly share code, notes, and snippets.

@AlexanderWert
Created December 2, 2022 07:12
Show Gist options
  • Save AlexanderWert/bf3b8a6cbbd02a345038bd8e8cac520f to your computer and use it in GitHub Desktop.
Save AlexanderWert/bf3b8a6cbbd02a345038bd8e8cac520f to your computer and use it in GitHub Desktop.
OTel JVM metrics payload
Resource SchemaURL: https://opentelemetry.io/schemas/1.9.0
Resource attributes:
-> container.id: STRING(b0bef663a9fadeb7d49a57cfd633baa12c8a79356fb0ff2312d455c948376c39)
-> host.arch: STRING(amd64)
-> host.name: STRING(b0bef663a9fa)
-> os.description: STRING(Linux 5.10.25-linuxkit)
-> os.type: STRING(linux)
-> process.command_line: STRING(/usr/local/openjdk-18:bin:java -javaagent:/app/opentelemetry-javaagent.jar)
-> process.executable.path: STRING(/usr/local/openjdk-18:bin:java)
-> process.pid: INT(1)
-> process.runtime.description: STRING(Oracle Corporation OpenJDK 64-Bit Server VM 18.0.2.1+1-1)
-> process.runtime.name: STRING(OpenJDK Runtime Environment)
-> process.runtime.version: STRING(18.0.2.1+1-1)
-> service.name: STRING(adservice)
-> telemetry.auto.version: STRING(1.16.0)
-> telemetry.sdk.language: STRING(java)
-> telemetry.sdk.name: STRING(opentelemetry)
-> telemetry.sdk.version: STRING(1.16.0)
ScopeMetrics #0
ScopeMetrics SchemaURL:
InstrumentationScope io.opentelemetry.exporters.otlp-grpc-okhttp
Metric #0
Descriptor:
-> Name: otlp.exporter.seen
-> Description:
-> Unit:
-> DataType: Sum
-> IsMonotonic: true
-> AggregationTemporality: AGGREGATION_TEMPORALITY_CUMULATIVE
NumberDataPoints #0
Data point attributes:
-> type: STRING(span)
StartTimestamp: 2022-12-02 06:50:12.328619255 +0000 UTC
Timestamp: 2022-12-02 06:54:12.163032978 +0000 UTC
Value: 588
Metric #1
Descriptor:
-> Name: otlp.exporter.exported
-> Description:
-> Unit:
-> DataType: Sum
-> IsMonotonic: true
-> AggregationTemporality: AGGREGATION_TEMPORALITY_CUMULATIVE
NumberDataPoints #0
Data point attributes:
-> success: BOOL(false)
-> type: STRING(span)
StartTimestamp: 2022-12-02 06:50:12.328619255 +0000 UTC
Timestamp: 2022-12-02 06:54:12.163032978 +0000 UTC
Value: 24
NumberDataPoints #1
Data point attributes:
-> success: BOOL(true)
-> type: STRING(span)
StartTimestamp: 2022-12-02 06:50:12.328619255 +0000 UTC
Timestamp: 2022-12-02 06:54:12.163032978 +0000 UTC
Value: 564
ScopeMetrics #1
ScopeMetrics SchemaURL:
InstrumentationScope io.opentelemetry.grpc-1.6 1.16.0-alpha
Metric #0
Descriptor:
-> Name: rpc.server.duration
-> Description: The duration of an inbound RPC invocation
-> Unit: ms
-> DataType: Histogram
-> AggregationTemporality: AGGREGATION_TEMPORALITY_CUMULATIVE
HistogramDataPoints #0
Data point attributes:
-> net.transport: STRING(ip_tcp)
-> rpc.method: STRING(GetAds)
-> rpc.service: STRING(hipstershop.AdService)
-> rpc.system: STRING(grpc)
StartTimestamp: 2022-12-02 06:50:12.328619255 +0000 UTC
Timestamp: 2022-12-02 06:54:12.163032978 +0000 UTC
Count: 50
Sum: 174.687991
Min: 1.224611
Max: 80.683850
ExplicitBounds #0: 5.000000
ExplicitBounds #1: 10.000000
ExplicitBounds #2: 25.000000
ExplicitBounds #3: 50.000000
ExplicitBounds #4: 75.000000
ExplicitBounds #5: 100.000000
ExplicitBounds #6: 250.000000
ExplicitBounds #7: 500.000000
ExplicitBounds #8: 750.000000
ExplicitBounds #9: 1000.000000
ExplicitBounds #10: 2500.000000
ExplicitBounds #11: 5000.000000
ExplicitBounds #12: 7500.000000
ExplicitBounds #13: 10000.000000
Buckets #0, Count: 49
Buckets #1, Count: 0
Buckets #2, Count: 0
Buckets #3, Count: 0
Buckets #4, Count: 0
Buckets #5, Count: 1
Buckets #6, Count: 0
Buckets #7, Count: 0
Buckets #8, Count: 0
Buckets #9, Count: 0
Buckets #10, Count: 0
Buckets #11, Count: 0
Buckets #12, Count: 0
Buckets #13, Count: 0
Buckets #14, Count: 0
ScopeMetrics #2
ScopeMetrics SchemaURL:
InstrumentationScope io.opentelemetry.runtime-metrics
Metric #0
Descriptor:
-> Name: process.runtime.jvm.classes.current_loaded
-> Description: Number of classes currently loaded
-> Unit: 1
-> DataType: Sum
-> IsMonotonic: false
-> AggregationTemporality: AGGREGATION_TEMPORALITY_CUMULATIVE
NumberDataPoints #0
StartTimestamp: 2022-12-02 06:50:12.328619255 +0000 UTC
Timestamp: 2022-12-02 06:54:12.163032978 +0000 UTC
Value: 8261
Metric #1
Descriptor:
-> Name: process.runtime.jvm.system.cpu.utilization
-> Description: Recent cpu utilization for the whole system
-> Unit: 1
-> DataType: Gauge
NumberDataPoints #0
StartTimestamp: 2022-12-02 06:50:12.328619255 +0000 UTC
Timestamp: 2022-12-02 06:54:12.163032978 +0000 UTC
Value: 0.023981
Metric #2
Descriptor:
-> Name: process.runtime.jvm.system.cpu.load_1m
-> Description: Average CPU load of the whole system for the last minute
-> Unit: 1
-> DataType: Gauge
NumberDataPoints #0
StartTimestamp: 2022-12-02 06:50:12.328619255 +0000 UTC
Timestamp: 2022-12-02 06:54:12.163032978 +0000 UTC
Value: 0.710000
Metric #3
Descriptor:
-> Name: process.runtime.jvm.classes.loaded
-> Description: Number of classes loaded since JVM start
-> Unit: 1
-> DataType: Sum
-> IsMonotonic: true
-> AggregationTemporality: AGGREGATION_TEMPORALITY_CUMULATIVE
NumberDataPoints #0
StartTimestamp: 2022-12-02 06:50:12.328619255 +0000 UTC
Timestamp: 2022-12-02 06:54:12.163032978 +0000 UTC
Value: 8262
Metric #4
Descriptor:
-> Name: process.runtime.jvm.memory.limit
-> Description: Measure of max obtainable memory
-> Unit: By
-> DataType: Sum
-> IsMonotonic: false
-> AggregationTemporality: AGGREGATION_TEMPORALITY_CUMULATIVE
NumberDataPoints #0
Data point attributes:
-> pool: STRING(Survivor Space)
-> type: STRING(heap)
StartTimestamp: 2022-12-02 06:50:12.328619255 +0000 UTC
Timestamp: 2022-12-02 06:54:12.163032978 +0000 UTC
Value: 4390912
NumberDataPoints #1
Data point attributes:
-> pool: STRING(Eden Space)
-> type: STRING(heap)
StartTimestamp: 2022-12-02 06:50:12.328619255 +0000 UTC
Timestamp: 2022-12-02 06:54:12.163032978 +0000 UTC
Value: 35258368
NumberDataPoints #2
Data point attributes:
-> pool: STRING(CodeHeap 'non-nmethods')
-> type: STRING(non_heap)
StartTimestamp: 2022-12-02 06:50:12.328619255 +0000 UTC
Timestamp: 2022-12-02 06:54:12.163032978 +0000 UTC
Value: 5840896
NumberDataPoints #3
Data point attributes:
-> pool: STRING(CodeHeap 'non-profiled nmethods')
-> type: STRING(non_heap)
StartTimestamp: 2022-12-02 06:50:12.328619255 +0000 UTC
Timestamp: 2022-12-02 06:54:12.163032978 +0000 UTC
Value: 122908672
NumberDataPoints #4
Data point attributes:
-> pool: STRING(Compressed Class Space)
-> type: STRING(non_heap)
StartTimestamp: 2022-12-02 06:50:12.328619255 +0000 UTC
Timestamp: 2022-12-02 06:54:12.163032978 +0000 UTC
Value: 1073741824
NumberDataPoints #5
Data point attributes:
-> pool: STRING(CodeHeap 'profiled nmethods')
-> type: STRING(non_heap)
StartTimestamp: 2022-12-02 06:50:12.328619255 +0000 UTC
Timestamp: 2022-12-02 06:54:12.163032978 +0000 UTC
Value: 122908672
NumberDataPoints #6
Data point attributes:
-> pool: STRING(Tenured Gen)
-> type: STRING(heap)
StartTimestamp: 2022-12-02 06:50:12.328619255 +0000 UTC
Timestamp: 2022-12-02 06:54:12.163032978 +0000 UTC
Value: 88080384
Metric #5
Descriptor:
-> Name: process.runtime.jvm.memory.committed
-> Description: Measure of memory committed
-> Unit: By
-> DataType: Sum
-> IsMonotonic: false
-> AggregationTemporality: AGGREGATION_TEMPORALITY_CUMULATIVE
NumberDataPoints #0
Data point attributes:
-> pool: STRING(Metaspace)
-> type: STRING(non_heap)
StartTimestamp: 2022-12-02 06:50:12.328619255 +0000 UTC
Timestamp: 2022-12-02 06:54:12.163032978 +0000 UTC
Value: 41222144
NumberDataPoints #1
Data point attributes:
-> pool: STRING(Survivor Space)
-> type: STRING(heap)
StartTimestamp: 2022-12-02 06:50:12.328619255 +0000 UTC
Timestamp: 2022-12-02 06:54:12.163032978 +0000 UTC
Value: 1441792
NumberDataPoints #2
Data point attributes:
-> pool: STRING(Eden Space)
-> type: STRING(heap)
StartTimestamp: 2022-12-02 06:50:12.328619255 +0000 UTC
Timestamp: 2022-12-02 06:54:12.163032978 +0000 UTC
Value: 11665408
NumberDataPoints #3
Data point attributes:
-> pool: STRING(CodeHeap 'non-nmethods')
-> type: STRING(non_heap)
StartTimestamp: 2022-12-02 06:50:12.328619255 +0000 UTC
Timestamp: 2022-12-02 06:54:12.163032978 +0000 UTC
Value: 2555904
NumberDataPoints #4
Data point attributes:
-> pool: STRING(CodeHeap 'non-profiled nmethods')
-> type: STRING(non_heap)
StartTimestamp: 2022-12-02 06:50:12.328619255 +0000 UTC
Timestamp: 2022-12-02 06:54:12.163032978 +0000 UTC
Value: 2555904
NumberDataPoints #5
Data point attributes:
-> pool: STRING(Compressed Class Space)
-> type: STRING(non_heap)
StartTimestamp: 2022-12-02 06:50:12.328619255 +0000 UTC
Timestamp: 2022-12-02 06:54:12.163032978 +0000 UTC
Value: 5177344
NumberDataPoints #6
Data point attributes:
-> pool: STRING(CodeHeap 'profiled nmethods')
-> type: STRING(non_heap)
StartTimestamp: 2022-12-02 06:50:12.328619255 +0000 UTC
Timestamp: 2022-12-02 06:54:12.163032978 +0000 UTC
Value: 9109504
NumberDataPoints #7
Data point attributes:
-> pool: STRING(Tenured Gen)
-> type: STRING(heap)
StartTimestamp: 2022-12-02 06:50:12.328619255 +0000 UTC
Timestamp: 2022-12-02 06:54:12.163032978 +0000 UTC
Value: 29048832
Metric #6
Descriptor:
-> Name: process.runtime.jvm.memory.usage
-> Description: Measure of memory used
-> Unit: By
-> DataType: Sum
-> IsMonotonic: false
-> AggregationTemporality: AGGREGATION_TEMPORALITY_CUMULATIVE
NumberDataPoints #0
Data point attributes:
-> pool: STRING(Metaspace)
-> type: STRING(non_heap)
StartTimestamp: 2022-12-02 06:50:12.328619255 +0000 UTC
Timestamp: 2022-12-02 06:54:12.163032978 +0000 UTC
Value: 40772688
NumberDataPoints #1
Data point attributes:
-> pool: STRING(Survivor Space)
-> type: STRING(heap)
StartTimestamp: 2022-12-02 06:50:12.328619255 +0000 UTC
Timestamp: 2022-12-02 06:54:12.163032978 +0000 UTC
Value: 999008
NumberDataPoints #2
Data point attributes:
-> pool: STRING(Eden Space)
-> type: STRING(heap)
StartTimestamp: 2022-12-02 06:50:12.328619255 +0000 UTC
Timestamp: 2022-12-02 06:54:12.163032978 +0000 UTC
Value: 8421640
NumberDataPoints #3
Data point attributes:
-> pool: STRING(CodeHeap 'non-nmethods')
-> type: STRING(non_heap)
StartTimestamp: 2022-12-02 06:50:12.328619255 +0000 UTC
Timestamp: 2022-12-02 06:54:12.163032978 +0000 UTC
Value: 1371008
NumberDataPoints #4
Data point attributes:
-> pool: STRING(CodeHeap 'non-profiled nmethods')
-> type: STRING(non_heap)
StartTimestamp: 2022-12-02 06:50:12.328619255 +0000 UTC
Timestamp: 2022-12-02 06:54:12.163032978 +0000 UTC
Value: 2494848
NumberDataPoints #5
Data point attributes:
-> pool: STRING(Compressed Class Space)
-> type: STRING(non_heap)
StartTimestamp: 2022-12-02 06:50:12.328619255 +0000 UTC
Timestamp: 2022-12-02 06:54:12.163032978 +0000 UTC
Value: 4984104
NumberDataPoints #6
Data point attributes:
-> pool: STRING(CodeHeap 'profiled nmethods')
-> type: STRING(non_heap)
StartTimestamp: 2022-12-02 06:50:12.328619255 +0000 UTC
Timestamp: 2022-12-02 06:54:12.163032978 +0000 UTC
Value: 9106432
NumberDataPoints #7
Data point attributes:
-> pool: STRING(Tenured Gen)
-> type: STRING(heap)
StartTimestamp: 2022-12-02 06:50:12.328619255 +0000 UTC
Timestamp: 2022-12-02 06:54:12.163032978 +0000 UTC
Value: 20439992
Metric #7
Descriptor:
-> Name: process.runtime.jvm.cpu.utilization
-> Description: Recent cpu utilization for the process
-> Unit: 1
-> DataType: Gauge
NumberDataPoints #0
StartTimestamp: 2022-12-02 06:50:12.328619255 +0000 UTC
Timestamp: 2022-12-02 06:54:12.163032978 +0000 UTC
Value: 0.000723
Metric #8
Descriptor:
-> Name: process.runtime.jvm.memory.init
-> Description: Measure of initial memory requested
-> Unit: By
-> DataType: Sum
-> IsMonotonic: false
-> AggregationTemporality: AGGREGATION_TEMPORALITY_CUMULATIVE
NumberDataPoints #0
Data point attributes:
-> pool: STRING(Metaspace)
-> type: STRING(non_heap)
StartTimestamp: 2022-12-02 06:50:12.328619255 +0000 UTC
Timestamp: 2022-12-02 06:54:12.163032978 +0000 UTC
Value: 0
NumberDataPoints #1
Data point attributes:
-> pool: STRING(Survivor Space)
-> type: STRING(heap)
StartTimestamp: 2022-12-02 06:50:12.328619255 +0000 UTC
Timestamp: 2022-12-02 06:54:12.163032978 +0000 UTC
Value: 262144
NumberDataPoints #2
Data point attributes:
-> pool: STRING(Eden Space)
-> type: STRING(heap)
StartTimestamp: 2022-12-02 06:50:12.328619255 +0000 UTC
Timestamp: 2022-12-02 06:54:12.163032978 +0000 UTC
Value: 2228224
NumberDataPoints #3
Data point attributes:
-> pool: STRING(CodeHeap 'non-nmethods')
-> type: STRING(non_heap)
StartTimestamp: 2022-12-02 06:50:12.328619255 +0000 UTC
Timestamp: 2022-12-02 06:54:12.163032978 +0000 UTC
Value: 2555904
NumberDataPoints #4
Data point attributes:
-> pool: STRING(CodeHeap 'non-profiled nmethods')
-> type: STRING(non_heap)
StartTimestamp: 2022-12-02 06:50:12.328619255 +0000 UTC
Timestamp: 2022-12-02 06:54:12.163032978 +0000 UTC
Value: 2555904
NumberDataPoints #5
Data point attributes:
-> pool: STRING(Compressed Class Space)
-> type: STRING(non_heap)
StartTimestamp: 2022-12-02 06:50:12.328619255 +0000 UTC
Timestamp: 2022-12-02 06:54:12.163032978 +0000 UTC
Value: 0
NumberDataPoints #6
Data point attributes:
-> pool: STRING(CodeHeap 'profiled nmethods')
-> type: STRING(non_heap)
StartTimestamp: 2022-12-02 06:50:12.328619255 +0000 UTC
Timestamp: 2022-12-02 06:54:12.163032978 +0000 UTC
Value: 2555904
NumberDataPoints #7
Data point attributes:
-> pool: STRING(Tenured Gen)
-> type: STRING(heap)
StartTimestamp: 2022-12-02 06:50:12.328619255 +0000 UTC
Timestamp: 2022-12-02 06:54:12.163032978 +0000 UTC
Value: 5636096
Metric #9
Descriptor:
-> Name: process.runtime.jvm.threads.count
-> Description: Number of executing threads
-> Unit: 1
-> DataType: Sum
-> IsMonotonic: false
-> AggregationTemporality: AGGREGATION_TEMPORALITY_CUMULATIVE
NumberDataPoints #0
StartTimestamp: 2022-12-02 06:50:12.328619255 +0000 UTC
Timestamp: 2022-12-02 06:54:12.163032978 +0000 UTC
Value: 19
Metric #10
Descriptor:
-> Name: process.runtime.jvm.classes.unloaded
-> Description: Number of classes unloaded since JVM start
-> Unit: 1
-> DataType: Sum
-> IsMonotonic: true
-> AggregationTemporality: AGGREGATION_TEMPORALITY_CUMULATIVE
NumberDataPoints #0
StartTimestamp: 2022-12-02 06:50:12.328619255 +0000 UTC
Timestamp: 2022-12-02 06:54:12.163032978 +0000 UTC
Value: 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment