@contrast/agent-bundle 5.46.0 → 5.48.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/node_modules/@contrast/agent/README.md +1 -1
- package/node_modules/@contrast/agent/package.json +12 -12
- package/node_modules/@contrast/agentify/package.json +15 -15
- package/node_modules/@contrast/architecture-components/package.json +5 -5
- package/node_modules/@contrast/assess/lib/{session-configuration → configuration-analysis}/common.js +1 -1
- package/node_modules/@contrast/assess/lib/{session-configuration → configuration-analysis}/handlers.js +23 -10
- package/node_modules/@contrast/assess/lib/{session-configuration → configuration-analysis}/index.js +6 -4
- package/node_modules/@contrast/assess/lib/configuration-analysis/install/apollo-server.js +92 -0
- package/node_modules/@contrast/assess/lib/{session-configuration → configuration-analysis}/install/express-session.js +2 -2
- package/node_modules/@contrast/assess/lib/{session-configuration → configuration-analysis}/install/fastify-cookie.js +2 -2
- package/node_modules/@contrast/assess/lib/configuration-analysis/install/graphql-yoga.js +90 -0
- package/node_modules/@contrast/assess/lib/{session-configuration → configuration-analysis}/install/hapi.js +2 -2
- package/node_modules/@contrast/assess/lib/{session-configuration → configuration-analysis}/install/koa.js +3 -3
- package/node_modules/@contrast/assess/lib/dataflow/propagation/install/string/substring.js +1 -1
- package/node_modules/@contrast/assess/lib/dataflow/sinks/install/fs.js +8 -15
- package/node_modules/@contrast/assess/lib/dataflow/sources/handler.js +9 -2
- package/node_modules/@contrast/assess/lib/dataflow/sources/index.js +2 -0
- package/node_modules/@contrast/assess/lib/dataflow/sources/install/fastify-websocket.js +63 -0
- package/node_modules/@contrast/assess/lib/dataflow/sources/install/http.js +42 -38
- package/node_modules/@contrast/assess/lib/dataflow/sources/install/koa/index.js +1 -1
- package/node_modules/@contrast/assess/lib/dataflow/sources/install/koa/koa-bodyparsers.js +76 -48
- package/node_modules/@contrast/assess/lib/dataflow/sources/install/koa/koa-multer.js +1 -1
- package/node_modules/@contrast/assess/lib/dataflow/sources/install/koa/koa-routers.js +2 -2
- package/node_modules/@contrast/assess/lib/dataflow/sources/install/koa/{koa2.js → koa.js} +3 -3
- package/node_modules/@contrast/assess/lib/dataflow/sources/install/socket.io.js +80 -0
- package/node_modules/@contrast/assess/lib/index.d.ts +4 -3
- package/node_modules/@contrast/assess/lib/index.js +1 -1
- package/node_modules/@contrast/assess/lib/policy.js +2 -2
- package/node_modules/@contrast/assess/package.json +12 -12
- package/node_modules/@contrast/common/lib/constants.d.ts +12 -4
- package/node_modules/@contrast/common/lib/constants.js +16 -7
- package/node_modules/@contrast/common/lib/types.d.ts +5 -1
- package/node_modules/@contrast/common/package.json +1 -1
- package/node_modules/@contrast/config/lib/common.js +1 -0
- package/node_modules/@contrast/config/lib/options.js +7 -1
- package/node_modules/@contrast/config/package.json +3 -3
- package/node_modules/@contrast/core/package.json +5 -5
- package/node_modules/@contrast/deadzones/package.json +5 -5
- package/node_modules/@contrast/dep-hooks/lib/export-handler-registry.js +1 -10
- package/node_modules/@contrast/dep-hooks/lib/export-hook-descriptor.js +1 -1
- package/node_modules/@contrast/dep-hooks/lib/index.d.ts +1 -1
- package/node_modules/@contrast/dep-hooks/lib/index.js +1 -1
- package/node_modules/@contrast/dep-hooks/lib/package-finder.d.ts +3 -2
- package/node_modules/@contrast/dep-hooks/lib/package-finder.js +14 -4
- package/node_modules/@contrast/dep-hooks/package.json +4 -4
- package/node_modules/@contrast/esm-hooks/README.md +2 -2
- package/node_modules/@contrast/esm-hooks/package.json +6 -6
- package/node_modules/@contrast/instrumentation/package.json +5 -5
- package/node_modules/@contrast/library-analysis/lib/install/library-reporting/dep.json +166 -224
- package/node_modules/@contrast/library-analysis/lib/install/library-reporting/index.js +2 -11
- package/node_modules/@contrast/library-analysis/lib/install/library-reporting/utils.js +2 -0
- package/node_modules/@contrast/library-analysis/lib/install/library-usage/index.js +3 -1
- package/node_modules/@contrast/library-analysis/lib/util.js +0 -2
- package/node_modules/@contrast/library-analysis/package.json +4 -4
- package/node_modules/@contrast/logger/package.json +4 -4
- package/node_modules/@contrast/metrics/package.json +6 -6
- package/node_modules/@contrast/patcher/package.json +2 -2
- package/node_modules/@contrast/protect/lib/error-handlers/index.js +1 -1
- package/node_modules/@contrast/protect/lib/error-handlers/install/{koa2.js → koa.js} +4 -4
- package/node_modules/@contrast/protect/lib/index.d.ts +1 -1
- package/node_modules/@contrast/protect/lib/input-analysis/index.js +2 -3
- package/node_modules/@contrast/protect/lib/input-analysis/install/koa-bodyparsers.js +92 -0
- package/node_modules/@contrast/protect/lib/input-analysis/install/{koa2.js → koa.js} +5 -5
- package/node_modules/@contrast/protect/lib/input-tracing/install/fs.js +0 -8
- package/node_modules/@contrast/protect/package.json +11 -11
- package/node_modules/@contrast/reporter/lib/reporters/contrast-ui/endpoints/application-activity/translations.js +6 -10
- package/node_modules/@contrast/reporter/lib/reporters/contrast-ui/endpoints/routes-observed.js +4 -0
- package/node_modules/@contrast/reporter/lib/reporters/contrast-ui/endpoints/traces/index.d.ts +1 -1
- package/node_modules/@contrast/reporter/lib/reporters/contrast-ui/endpoints/traces/index.js +1 -1
- package/node_modules/@contrast/reporter/lib/reporters/contrast-ui/endpoints/traces/translations.d.ts +1 -1
- package/node_modules/@contrast/reporter/lib/reporters/contrast-ui/endpoints/traces/translations.js +22 -9
- package/node_modules/@contrast/reporter/lib/reporters/file.js +1 -1
- package/node_modules/@contrast/reporter/package.json +6 -6
- package/node_modules/@contrast/rewriter/package.json +5 -5
- package/node_modules/@contrast/route-coverage/lib/index.d.ts +2 -2
- package/node_modules/@contrast/route-coverage/lib/index.js +12 -2
- package/node_modules/@contrast/route-coverage/lib/install/express.js +535 -0
- package/node_modules/@contrast/route-coverage/lib/install/fastify/fastify-express.js +71 -0
- package/node_modules/@contrast/route-coverage/lib/install/fastify/fastify-middie.js +67 -0
- package/node_modules/@contrast/route-coverage/lib/install/{fastify.js → fastify/fastify.js} +32 -22
- package/node_modules/@contrast/route-coverage/lib/install/{express → fastify}/index.js +6 -5
- package/node_modules/@contrast/route-coverage/lib/install/graphql.js +6 -1
- package/node_modules/@contrast/route-coverage/lib/install/koa.js +39 -45
- package/node_modules/@contrast/route-coverage/lib/install/socket.io.js +127 -0
- package/node_modules/@contrast/route-coverage/lib/utils/route-info.js +26 -1
- package/node_modules/@contrast/route-coverage/package.json +8 -8
- package/node_modules/@contrast/scopes/package.json +5 -5
- package/node_modules/@contrast/sec-obs/package.json +9 -9
- package/node_modules/@contrast/sources/lib/index.js +65 -22
- package/node_modules/@contrast/sources/lib/index.test.js +78 -33
- package/node_modules/@contrast/sources/lib/source-info.js +1 -10
- package/node_modules/@contrast/sources/package.json +3 -3
- package/node_modules/@contrast/telemetry/package.json +5 -5
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/experimental_attributes.d.ts +697 -30
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/experimental_attributes.js +697 -30
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/experimental_attributes.js.map +1 -1
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/experimental_events.d.ts +6 -0
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/experimental_events.js +6 -0
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/experimental_events.js.map +1 -1
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/experimental_metrics.d.ts +877 -49
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/experimental_metrics.js +877 -49
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/experimental_metrics.js.map +1 -1
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/stable_attributes.d.ts +13 -4
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/stable_attributes.js +13 -4
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/stable_attributes.js.map +1 -1
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/version.d.ts +1 -1
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/version.js +1 -1
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/version.js.map +1 -1
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/experimental_attributes.d.ts +697 -30
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/experimental_attributes.js +697 -30
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/experimental_attributes.js.map +1 -1
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/experimental_events.d.ts +6 -0
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/experimental_events.js +6 -0
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/experimental_events.js.map +1 -1
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/experimental_metrics.d.ts +877 -49
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/experimental_metrics.js +877 -49
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/experimental_metrics.js.map +1 -1
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/stable_attributes.d.ts +13 -4
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/stable_attributes.js +13 -4
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/stable_attributes.js.map +1 -1
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/version.d.ts +1 -1
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/version.js +1 -1
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/version.js.map +1 -1
- package/node_modules/@opentelemetry/semantic-conventions/build/src/experimental_attributes.d.ts +697 -30
- package/node_modules/@opentelemetry/semantic-conventions/build/src/experimental_attributes.js +729 -61
- package/node_modules/@opentelemetry/semantic-conventions/build/src/experimental_attributes.js.map +1 -1
- package/node_modules/@opentelemetry/semantic-conventions/build/src/experimental_events.d.ts +6 -0
- package/node_modules/@opentelemetry/semantic-conventions/build/src/experimental_events.js +7 -1
- package/node_modules/@opentelemetry/semantic-conventions/build/src/experimental_events.js.map +1 -1
- package/node_modules/@opentelemetry/semantic-conventions/build/src/experimental_metrics.d.ts +877 -49
- package/node_modules/@opentelemetry/semantic-conventions/build/src/experimental_metrics.js +886 -56
- package/node_modules/@opentelemetry/semantic-conventions/build/src/experimental_metrics.js.map +1 -1
- package/node_modules/@opentelemetry/semantic-conventions/build/src/stable_attributes.d.ts +13 -4
- package/node_modules/@opentelemetry/semantic-conventions/build/src/stable_attributes.js +13 -4
- package/node_modules/@opentelemetry/semantic-conventions/build/src/stable_attributes.js.map +1 -1
- package/node_modules/@opentelemetry/semantic-conventions/build/src/version.d.ts +1 -1
- package/node_modules/@opentelemetry/semantic-conventions/build/src/version.js +1 -1
- package/node_modules/@opentelemetry/semantic-conventions/build/src/version.js.map +1 -1
- package/node_modules/@opentelemetry/semantic-conventions/package.json +3 -5
- package/node_modules/{pino → @pinojs/redact}/.github/dependabot.yml +1 -1
- package/node_modules/@pinojs/redact/.github/workflows/ci.yml +48 -0
- package/node_modules/@pinojs/redact/.github/workflows/publish-release.yml +43 -0
- package/node_modules/{pino/node_modules/sonic-boom → @pinojs/redact}/LICENSE +1 -1
- package/node_modules/@pinojs/redact/README.md +350 -0
- package/node_modules/@pinojs/redact/benchmarks/basic.js +184 -0
- package/node_modules/@pinojs/redact/eslint.config.js +1 -0
- package/node_modules/@pinojs/redact/index.d.ts +52 -0
- package/node_modules/@pinojs/redact/index.js +529 -0
- package/node_modules/@pinojs/redact/index.test-d.ts +22 -0
- package/node_modules/@pinojs/redact/package.json +37 -0
- package/node_modules/@pinojs/redact/scripts/sync-version.mjs +20 -0
- package/node_modules/@pinojs/redact/test/actual-redact-comparison.test.js +211 -0
- package/node_modules/@pinojs/redact/test/index.test.js +824 -0
- package/node_modules/@pinojs/redact/test/integration.test.js +390 -0
- package/node_modules/@pinojs/redact/test/multiple-wildcards.test.js +227 -0
- package/node_modules/@pinojs/redact/test/prototype-pollution.test.js +223 -0
- package/node_modules/@pinojs/redact/test/selective-clone.test.js +115 -0
- package/node_modules/@pinojs/redact/tsconfig.json +19 -0
- package/node_modules/@types/node/README.md +1 -1
- package/node_modules/@types/node/assert.d.ts +37 -2
- package/node_modules/@types/node/buffer.buffer.d.ts +9 -0
- package/node_modules/@types/node/buffer.d.ts +8 -4
- package/node_modules/@types/node/child_process.d.ts +65 -42
- package/node_modules/@types/node/cluster.d.ts +4 -5
- package/node_modules/@types/node/console.d.ts +3 -2
- package/node_modules/@types/node/crypto.d.ts +1079 -338
- package/node_modules/@types/node/dgram.d.ts +9 -8
- package/node_modules/@types/node/diagnostics_channel.d.ts +0 -2
- package/node_modules/@types/node/dns.d.ts +1 -1
- package/node_modules/@types/node/events.d.ts +1 -1
- package/node_modules/@types/node/fs/promises.d.ts +39 -21
- package/node_modules/@types/node/fs.d.ts +104 -87
- package/node_modules/@types/node/globals.d.ts +2 -0
- package/node_modules/@types/node/globals.typedarray.d.ts +19 -0
- package/node_modules/@types/node/http.d.ts +66 -27
- package/node_modules/@types/node/http2.d.ts +178 -52
- package/node_modules/@types/node/https.d.ts +91 -62
- package/node_modules/@types/node/index.d.ts +2 -0
- package/node_modules/@types/node/inspector.d.ts +24 -0
- package/node_modules/@types/node/inspector.generated.d.ts +181 -0
- package/node_modules/@types/node/net.d.ts +12 -11
- package/node_modules/@types/node/os.d.ts +14 -3
- package/node_modules/@types/node/package.json +3 -3
- package/node_modules/@types/node/perf_hooks.d.ts +6 -8
- package/node_modules/@types/node/process.d.ts +19 -23
- package/node_modules/@types/node/readline/promises.d.ts +1 -1
- package/node_modules/@types/node/sea.d.ts +9 -0
- package/node_modules/@types/node/sqlite.d.ts +226 -10
- package/node_modules/@types/node/stream/consumers.d.ts +2 -2
- package/node_modules/@types/node/stream/web.d.ts +6 -55
- package/node_modules/@types/node/stream.d.ts +38 -23
- package/node_modules/@types/node/string_decoder.d.ts +2 -2
- package/node_modules/@types/node/test.d.ts +29 -3
- package/node_modules/@types/node/tls.d.ts +90 -66
- package/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +10 -2
- package/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +16 -0
- package/node_modules/@types/node/ts5.6/index.d.ts +2 -0
- package/node_modules/@types/node/ts5.7/index.d.ts +2 -0
- package/node_modules/@types/node/url.d.ts +34 -10
- package/node_modules/@types/node/util.d.ts +12 -3
- package/node_modules/@types/node/v8.d.ts +38 -5
- package/node_modules/@types/node/vm.d.ts +169 -88
- package/node_modules/@types/node/wasi.d.ts +1 -1
- package/node_modules/@types/node/web-globals/crypto.d.ts +32 -0
- package/node_modules/@types/node/web-globals/streams.d.ts +22 -0
- package/node_modules/@types/node/worker_threads.d.ts +76 -1
- package/node_modules/@types/node/zlib.d.ts +25 -24
- package/node_modules/axios/CHANGELOG.md +410 -346
- package/node_modules/axios/README.md +79 -51
- package/node_modules/axios/dist/axios.js +121 -46
- package/node_modules/axios/dist/axios.js.map +1 -1
- package/node_modules/axios/dist/axios.min.js +2 -2
- package/node_modules/axios/dist/axios.min.js.map +1 -1
- package/node_modules/axios/dist/browser/axios.cjs +126 -57
- package/node_modules/axios/dist/browser/axios.cjs.map +1 -1
- package/node_modules/axios/dist/esm/axios.js +126 -57
- package/node_modules/axios/dist/esm/axios.js.map +1 -1
- package/node_modules/axios/dist/esm/axios.min.js +2 -2
- package/node_modules/axios/dist/esm/axios.min.js.map +1 -1
- package/node_modules/axios/dist/node/axios.cjs +351 -97
- package/node_modules/axios/dist/node/axios.cjs.map +1 -1
- package/node_modules/axios/index.d.cts +4 -0
- package/node_modules/axios/index.d.ts +4 -0
- package/node_modules/axios/lib/adapters/adapters.js +85 -40
- package/node_modules/axios/lib/adapters/fetch.js +1 -1
- package/node_modules/axios/lib/adapters/http.js +224 -42
- package/node_modules/axios/lib/core/InterceptorManager.js +1 -1
- package/node_modules/axios/lib/core/mergeConfig.js +4 -4
- package/node_modules/axios/lib/env/data.js +1 -1
- package/node_modules/axios/lib/helpers/HttpStatusCode.js +6 -0
- package/node_modules/axios/lib/helpers/bind.js +7 -0
- package/node_modules/axios/lib/helpers/cookies.js +24 -13
- package/node_modules/axios/package.json +9 -4
- package/node_modules/detect-libc/lib/filesystem.js +1 -1
- package/node_modules/detect-libc/package.json +3 -1
- package/node_modules/form-data/CHANGELOG.md +60 -2
- package/node_modules/form-data/README.md +4 -4
- package/node_modules/form-data/lib/form_data.js +2 -2
- package/node_modules/form-data/package.json +4 -4
- package/node_modules/ipaddr.js/README.md +1 -0
- package/node_modules/ipaddr.js/ipaddr.min.js +1 -1
- package/node_modules/ipaddr.js/lib/ipaddr.js +11 -0
- package/node_modules/ipaddr.js/lib/ipaddr.js.d.ts +1 -0
- package/node_modules/ipaddr.js/package.json +2 -3
- package/node_modules/nan/.github/workflows/ci.yml +3 -1
- package/node_modules/nan/CHANGELOG.md +4 -1
- package/node_modules/nan/README.md +2 -2
- package/node_modules/nan/nan.h +25 -15
- package/node_modules/nan/nan_maybe_43_inl.h +5 -1
- package/node_modules/nan/package.json +2 -2
- package/node_modules/node-abi/abi_registry.json +19 -2
- package/node_modules/node-abi/package.json +3 -6
- package/node_modules/pino/CONTRIBUTING.md +4 -0
- package/node_modules/pino/LICENSE +1 -1
- package/node_modules/pino/README.md +20 -3
- package/node_modules/pino/benchmarks/basic.bench.js +1 -1
- package/node_modules/pino/benchmarks/child-child.bench.js +1 -1
- package/node_modules/pino/benchmarks/child-creation.bench.js +1 -1
- package/node_modules/pino/benchmarks/child.bench.js +1 -1
- package/node_modules/pino/benchmarks/deep-object.bench.js +1 -1
- package/node_modules/pino/benchmarks/internal/just-pino-heavy.bench.js +1 -1
- package/node_modules/pino/benchmarks/internal/just-pino.bench.js +1 -1
- package/node_modules/pino/benchmarks/internal/redact.bench.js +1 -1
- package/node_modules/pino/benchmarks/long-string.bench.js +1 -1
- package/node_modules/pino/benchmarks/multi-arg.bench.js +1 -1
- package/node_modules/pino/benchmarks/multistream.js +1 -1
- package/node_modules/pino/benchmarks/object.bench.js +1 -1
- package/node_modules/pino/benchmarks/utils/generate-benchmark-doc.js +2 -2
- package/node_modules/pino/benchmarks/utils/runbench.js +3 -3
- package/node_modules/pino/benchmarks/utils/wrap-log-level.js +2 -2
- package/node_modules/pino/browser.js +76 -36
- package/node_modules/pino/build/sync-version.js +18 -3
- package/node_modules/pino/docs/api.md +155 -13
- package/node_modules/pino/docs/browser.md +16 -1
- package/node_modules/pino/docs/bundling.md +5 -3
- package/node_modules/pino/docs/diagnostics.md +16 -0
- package/node_modules/pino/docs/ecosystem.md +15 -12
- package/node_modules/pino/docs/help.md +29 -3
- package/node_modules/pino/docs/lts.md +5 -4
- package/node_modules/pino/docs/transports.md +442 -271
- package/node_modules/pino/docs/web.md +59 -9
- package/node_modules/pino/eslint.config.js +19 -0
- package/node_modules/pino/examples/transport.js +2 -2
- package/node_modules/pino/file.js +1 -1
- package/node_modules/pino/lib/meta.js +1 -1
- package/node_modules/pino/lib/multistream.js +17 -2
- package/node_modules/pino/lib/proto.js +35 -11
- package/node_modules/pino/lib/redaction.js +9 -13
- package/node_modules/pino/lib/time.js +29 -1
- package/node_modules/pino/lib/tools.js +37 -8
- package/node_modules/pino/lib/transport-stream.js +10 -4
- package/node_modules/pino/lib/transport.js +23 -9
- package/node_modules/pino/lib/worker.js +164 -24
- package/node_modules/pino/package.json +28 -27
- package/node_modules/pino/pino.d.ts +244 -203
- package/node_modules/pino/pino.js +7 -3
- package/node_modules/pino/test/basic.test.js +181 -169
- package/node_modules/pino/test/broken-pipe.test.js +18 -16
- package/node_modules/pino/test/browser-child.test.js +26 -0
- package/node_modules/pino/test/browser-is-level-enabled.test.js +101 -0
- package/node_modules/pino/test/browser-serializers.test.js +0 -2
- package/node_modules/pino/test/browser-transmit.test.js +68 -0
- package/node_modules/pino/test/browser.test.js +98 -13
- package/node_modules/pino/test/complex-objects.test.js +8 -6
- package/node_modules/pino/test/crlf.test.js +7 -5
- package/node_modules/pino/test/custom-levels.test.js +80 -66
- package/node_modules/pino/test/diagnostics.test.js +107 -0
- package/node_modules/pino/test/error-key.test.js +37 -0
- package/node_modules/pino/test/error.test.js +48 -43
- package/node_modules/pino/test/escaping.test.js +8 -6
- package/node_modules/pino/test/esm/esm.mjs +5 -3
- package/node_modules/pino/test/esm/index.test.js +14 -27
- package/node_modules/pino/test/esm/named-exports.mjs +9 -8
- package/node_modules/pino/test/exit.test.js +18 -16
- package/node_modules/pino/test/fixtures/broken-pipe/basic.js +1 -1
- package/node_modules/pino/test/fixtures/broken-pipe/destination.js +1 -1
- package/node_modules/pino/test/fixtures/broken-pipe/syncfalse.js +1 -1
- package/node_modules/pino/test/fixtures/console-transport.js +1 -1
- package/node_modules/pino/test/fixtures/crashing-transport.js +13 -0
- package/node_modules/pino/test/fixtures/default-exit.js +1 -1
- package/node_modules/pino/test/fixtures/destination-exit.js +1 -1
- package/node_modules/pino/test/fixtures/noop-transport.js +1 -1
- package/node_modules/pino/test/fixtures/pretty/null-prototype.js +1 -1
- package/node_modules/pino/test/fixtures/stdout-hack-protection.js +1 -1
- package/node_modules/pino/test/fixtures/syncfalse-child.js +1 -1
- package/node_modules/pino/test/fixtures/syncfalse-exit.js +1 -1
- package/node_modules/pino/test/fixtures/syncfalse-flush-exit.js +1 -1
- package/node_modules/pino/test/fixtures/syncfalse.js +1 -1
- package/node_modules/pino/test/fixtures/syntax-error-esm.mjs +2 -0
- package/node_modules/pino/test/fixtures/to-file-transport-with-transform.js +3 -3
- package/node_modules/pino/test/fixtures/to-file-transport.js +2 -2
- package/node_modules/pino/test/fixtures/to-file-transport.mjs +2 -2
- package/node_modules/pino/test/fixtures/transport/index.js +2 -2
- package/node_modules/pino/test/fixtures/transport-main.js +1 -1
- package/node_modules/pino/test/fixtures/transport-transform.js +1 -1
- package/node_modules/pino/test/fixtures/transport-uses-pino-config.js +1 -1
- package/node_modules/pino/test/fixtures/transport-worker-data.js +1 -1
- package/node_modules/pino/test/fixtures/transport-worker.js +2 -2
- package/node_modules/pino/test/fixtures/ts/to-file-transport-with-transform.ts +3 -3
- package/node_modules/pino/test/fixtures/ts/to-file-transport.ts +2 -2
- package/node_modules/pino/test/fixtures/ts/transpile.cjs +1 -1
- package/node_modules/pino/test/fixtures/ts/transport-exit-immediately-with-async-dest.ts +1 -1
- package/node_modules/pino/test/fixtures/ts/transport-main.ts +1 -1
- package/node_modules/pino/test/fixtures/ts/transport-worker.ts +1 -1
- package/node_modules/pino/test/formatters.test.js +46 -37
- package/node_modules/pino/test/helper.d.ts +1 -1
- package/node_modules/pino/test/helper.js +37 -10
- package/node_modules/pino/test/hooks.test.js +45 -28
- package/node_modules/pino/test/http.test.js +39 -67
- package/node_modules/pino/test/internals/version.test.js +11 -9
- package/node_modules/pino/test/is-level-enabled.test.js +66 -72
- package/node_modules/pino/test/levels.test.js +245 -141
- package/node_modules/pino/test/metadata.test.js +45 -31
- package/node_modules/pino/test/mixin-merge-strategy.test.js +9 -7
- package/node_modules/pino/test/mixin.test.js +63 -40
- package/node_modules/pino/test/multistream.test.js +174 -118
- package/node_modules/pino/test/redact.test.js +172 -126
- package/node_modules/pino/test/serializers.test.js +61 -57
- package/node_modules/pino/test/stdout-protection.test.js +14 -12
- package/node_modules/pino/test/syncfalse.test.js +29 -34
- package/node_modules/pino/test/timestamp-nano.test.js +37 -0
- package/node_modules/pino/test/timestamp.test.js +37 -34
- package/node_modules/pino/test/transport/big.test.js +11 -12
- package/node_modules/pino/test/transport/bundlers-support.test.js +15 -43
- package/node_modules/pino/test/transport/caller.test.js +9 -8
- package/node_modules/pino/test/transport/core.test.js +175 -145
- package/node_modules/pino/test/transport/core.transpiled.test.ts +17 -19
- package/node_modules/pino/test/transport/crash.test.js +36 -0
- package/node_modules/pino/test/transport/module-link.test.js +21 -19
- package/node_modules/pino/test/transport/pipeline.test.js +109 -8
- package/node_modules/pino/test/transport/repl.test.js +4 -3
- package/node_modules/pino/test/transport/{syncfalse.test.js → sync-false.test.js} +14 -12
- package/node_modules/pino/test/transport/sync-true.test.js +57 -0
- package/node_modules/pino/test/transport/targets.test.js +25 -5
- package/node_modules/pino/test/transport/uses-pino-config.test.js +16 -17
- package/node_modules/pino/test/transport-stream.test.js +40 -0
- package/node_modules/pino/test/types/{pino-import.test-d.ts → pino-import.test-d.cts} +4 -3
- package/node_modules/pino/test/types/pino-multistream.test-d.ts +1 -1
- package/node_modules/pino/test/types/pino-top-export.test-d.ts +1 -0
- package/node_modules/pino/test/types/pino-transport.test-d.ts +1 -1
- package/node_modules/pino/test/types/pino-type-only.test-d.ts +24 -6
- package/node_modules/pino/test/types/pino.test-d.ts +161 -6
- package/node_modules/pino/test/types/pino.ts +31 -19
- package/node_modules/pino/tsconfig.json +1 -1
- package/node_modules/pino-abstract-transport/.github/workflows/ci.yml +2 -4
- package/node_modules/pino-abstract-transport/index.js +1 -1
- package/node_modules/pino-abstract-transport/package.json +2 -3
- package/node_modules/pino-abstract-transport/test/base.test.js +1 -1
- package/node_modules/pino-abstract-transport/test/worker.test.js +7 -14
- package/node_modules/pino-std-serializers/.github/workflows/ci.yml +5 -5
- package/node_modules/pino-std-serializers/Readme.md +1 -0
- package/node_modules/pino-std-serializers/package.json +9 -8
- package/node_modules/pino-std-serializers/test/err-with-cause.test.js +72 -88
- package/node_modules/pino-std-serializers/test/err.test.js +76 -91
- package/node_modules/pino-std-serializers/test/req.test.js +142 -98
- package/node_modules/pino-std-serializers/test/res.test.js +42 -31
- package/node_modules/process-warning/.github/dependabot.yml +1 -1
- package/node_modules/process-warning/.github/workflows/ci.yml +1 -2
- package/node_modules/process-warning/README.md +4 -4
- package/node_modules/process-warning/eslint.config.js +6 -0
- package/node_modules/process-warning/package.json +39 -8
- package/node_modules/process-warning/test/emit-interpolated-string.test.js +11 -6
- package/node_modules/process-warning/test/emit-once-only.test.js +11 -6
- package/node_modules/process-warning/test/emit-reset.test.js +10 -6
- package/node_modules/process-warning/test/emit-set.test.js +10 -5
- package/node_modules/process-warning/test/emit-unlimited.test.js +12 -7
- package/node_modules/process-warning/test/index.test.js +20 -20
- package/node_modules/process-warning/test/issue-88.test.js +8 -3
- package/node_modules/process-warning/test/jest.test.js +17 -15
- package/node_modules/process-warning/test/no-warnings.test.js +9 -9
- package/node_modules/process-warning/test/promise.js +10 -0
- package/node_modules/process-warning/types/index.d.ts +5 -5
- package/node_modules/semver/classes/range.js +1 -0
- package/node_modules/semver/classes/semver.js +19 -5
- package/node_modules/semver/internal/identifiers.js +4 -0
- package/node_modules/semver/package.json +3 -3
- package/node_modules/thread-stream/.github/workflows/ci.yml +4 -8
- package/node_modules/thread-stream/index.d.ts +4 -5
- package/node_modules/thread-stream/lib/worker.js +5 -2
- package/node_modules/thread-stream/package.json +6 -4
- package/node_modules/thread-stream/test/base.test.js +12 -0
- package/node_modules/thread-stream/test/never-drain.test.js +3 -1
- package/node_modules/thread-stream/test/pkg/pkg.test.js +2 -0
- package/node_modules/thread-stream/test/syntax-error.mjs +2 -0
- package/node_modules/thread-stream/tsconfig.json +8 -0
- package/node_modules/undici-types/agent.d.ts +1 -0
- package/node_modules/undici-types/diagnostics-channel.d.ts +0 -1
- package/node_modules/undici-types/errors.d.ts +5 -15
- package/node_modules/undici-types/eventsource.d.ts +6 -1
- package/node_modules/undici-types/index.d.ts +4 -1
- package/node_modules/undici-types/interceptors.d.ts +5 -0
- package/node_modules/undici-types/package.json +1 -1
- package/node_modules/undici-types/snapshot-agent.d.ts +5 -3
- package/node_modules/undici-types/webidl.d.ts +82 -21
- package/node_modules/yaml/browser/dist/compose/compose-collection.js +1 -1
- package/node_modules/yaml/browser/dist/compose/resolve-block-seq.js +1 -1
- package/node_modules/yaml/browser/dist/compose/resolve-flow-collection.js +2 -2
- package/node_modules/yaml/browser/dist/errors.js +1 -1
- package/node_modules/yaml/browser/dist/nodes/Alias.js +1 -1
- package/node_modules/yaml/browser/dist/parse/parser.js +2 -2
- package/node_modules/yaml/browser/dist/stringify/stringifyNumber.js +1 -1
- package/node_modules/yaml/browser/dist/stringify/stringifyPair.js +1 -1
- package/node_modules/yaml/dist/compose/compose-collection.js +1 -1
- package/node_modules/yaml/dist/compose/resolve-block-seq.js +1 -1
- package/node_modules/yaml/dist/compose/resolve-flow-collection.js +2 -2
- package/node_modules/yaml/dist/errors.js +1 -1
- package/node_modules/yaml/dist/nodes/Alias.js +1 -1
- package/node_modules/yaml/dist/parse/parser.js +2 -2
- package/node_modules/yaml/dist/stringify/stringifyNumber.js +1 -1
- package/node_modules/yaml/dist/stringify/stringifyPair.js +1 -1
- package/node_modules/yaml/package.json +4 -4
- package/package.json +3 -3
- package/node_modules/@contrast/protect/lib/input-analysis/install/koa-body5.js +0 -63
- package/node_modules/@contrast/protect/lib/input-analysis/install/koa-bodyparser4.js +0 -64
- package/node_modules/@contrast/route-coverage/lib/install/express/express4.js +0 -157
- package/node_modules/@contrast/route-coverage/lib/install/express/express5.js +0 -538
- package/node_modules/abort-controller/LICENSE +0 -21
- package/node_modules/abort-controller/README.md +0 -98
- package/node_modules/abort-controller/browser.js +0 -13
- package/node_modules/abort-controller/browser.mjs +0 -11
- package/node_modules/abort-controller/dist/abort-controller.d.ts +0 -43
- package/node_modules/abort-controller/dist/abort-controller.js +0 -127
- package/node_modules/abort-controller/dist/abort-controller.js.map +0 -1
- package/node_modules/abort-controller/dist/abort-controller.mjs +0 -118
- package/node_modules/abort-controller/dist/abort-controller.mjs.map +0 -1
- package/node_modules/abort-controller/dist/abort-controller.umd.js +0 -5
- package/node_modules/abort-controller/dist/abort-controller.umd.js.map +0 -1
- package/node_modules/abort-controller/package.json +0 -97
- package/node_modules/abort-controller/polyfill.js +0 -21
- package/node_modules/abort-controller/polyfill.mjs +0 -19
- package/node_modules/base64-js/LICENSE +0 -21
- package/node_modules/base64-js/README.md +0 -34
- package/node_modules/base64-js/base64js.min.js +0 -1
- package/node_modules/base64-js/index.d.ts +0 -3
- package/node_modules/base64-js/index.js +0 -150
- package/node_modules/base64-js/package.json +0 -47
- package/node_modules/buffer/AUTHORS.md +0 -73
- package/node_modules/buffer/LICENSE +0 -21
- package/node_modules/buffer/README.md +0 -410
- package/node_modules/buffer/index.d.ts +0 -194
- package/node_modules/buffer/index.js +0 -2106
- package/node_modules/buffer/package.json +0 -93
- package/node_modules/event-target-shim/LICENSE +0 -22
- package/node_modules/event-target-shim/README.md +0 -293
- package/node_modules/event-target-shim/dist/event-target-shim.js +0 -871
- package/node_modules/event-target-shim/dist/event-target-shim.js.map +0 -1
- package/node_modules/event-target-shim/dist/event-target-shim.mjs +0 -862
- package/node_modules/event-target-shim/dist/event-target-shim.mjs.map +0 -1
- package/node_modules/event-target-shim/dist/event-target-shim.umd.js +0 -6
- package/node_modules/event-target-shim/dist/event-target-shim.umd.js.map +0 -1
- package/node_modules/event-target-shim/index.d.ts +0 -399
- package/node_modules/event-target-shim/package.json +0 -82
- package/node_modules/events/.airtap.yml +0 -15
- package/node_modules/events/.github/FUNDING.yml +0 -12
- package/node_modules/events/.travis.yml +0 -18
- package/node_modules/events/History.md +0 -118
- package/node_modules/events/LICENSE +0 -22
- package/node_modules/events/Readme.md +0 -50
- package/node_modules/events/events.js +0 -497
- package/node_modules/events/package.json +0 -37
- package/node_modules/events/security.md +0 -10
- package/node_modules/events/tests/add-listeners.js +0 -111
- package/node_modules/events/tests/check-listener-leaks.js +0 -101
- package/node_modules/events/tests/common.js +0 -104
- package/node_modules/events/tests/errors.js +0 -13
- package/node_modules/events/tests/events-list.js +0 -28
- package/node_modules/events/tests/events-once.js +0 -234
- package/node_modules/events/tests/index.js +0 -64
- package/node_modules/events/tests/legacy-compat.js +0 -16
- package/node_modules/events/tests/listener-count.js +0 -37
- package/node_modules/events/tests/listeners-side-effects.js +0 -56
- package/node_modules/events/tests/listeners.js +0 -168
- package/node_modules/events/tests/max-listeners.js +0 -47
- package/node_modules/events/tests/method-names.js +0 -35
- package/node_modules/events/tests/modify-in-emit.js +0 -90
- package/node_modules/events/tests/num-args.js +0 -60
- package/node_modules/events/tests/once.js +0 -83
- package/node_modules/events/tests/prepend.js +0 -31
- package/node_modules/events/tests/remove-all-listeners.js +0 -133
- package/node_modules/events/tests/remove-listeners.js +0 -212
- package/node_modules/events/tests/set-max-listeners-side-effects.js +0 -31
- package/node_modules/events/tests/special-event-names.js +0 -45
- package/node_modules/events/tests/subclass.js +0 -66
- package/node_modules/events/tests/symbols.js +0 -25
- package/node_modules/fast-redact/.github/workflows/ci.yml +0 -37
- package/node_modules/fast-redact/LICENSE +0 -21
- package/node_modules/fast-redact/benchmark/index.js +0 -223
- package/node_modules/fast-redact/example/default-usage.js +0 -14
- package/node_modules/fast-redact/example/intermediate-wildcard-array.js +0 -11
- package/node_modules/fast-redact/example/multi-wildcard-array-depth.js +0 -11
- package/node_modules/fast-redact/example/multi-wildcard-array-end.js +0 -11
- package/node_modules/fast-redact/example/multi-wildcard-array.js +0 -11
- package/node_modules/fast-redact/example/serialize-false.js +0 -11
- package/node_modules/fast-redact/example/serialize-function.js +0 -4
- package/node_modules/fast-redact/example/top-wildcard-object.js +0 -9
- package/node_modules/fast-redact/index.js +0 -56
- package/node_modules/fast-redact/lib/modifiers.js +0 -291
- package/node_modules/fast-redact/lib/parse.js +0 -44
- package/node_modules/fast-redact/lib/redactor.js +0 -108
- package/node_modules/fast-redact/lib/restorer.js +0 -92
- package/node_modules/fast-redact/lib/rx.js +0 -16
- package/node_modules/fast-redact/lib/state.js +0 -20
- package/node_modules/fast-redact/lib/validator.js +0 -33
- package/node_modules/fast-redact/package.json +0 -50
- package/node_modules/fast-redact/readme.md +0 -282
- package/node_modules/fast-redact/test/index.js +0 -1502
- package/node_modules/ieee754/LICENSE +0 -11
- package/node_modules/ieee754/README.md +0 -51
- package/node_modules/ieee754/index.d.ts +0 -10
- package/node_modules/ieee754/index.js +0 -85
- package/node_modules/ieee754/package.json +0 -52
- package/node_modules/pino/.eslintignore +0 -2
- package/node_modules/pino/.eslintrc +0 -8
- package/node_modules/pino/.github/workflows/bench.yml +0 -61
- package/node_modules/pino/.github/workflows/ci.yml +0 -86
- package/node_modules/pino/.github/workflows/lock-threads.yml +0 -30
- package/node_modules/pino/.github/workflows/package-manager-ci.yml +0 -99
- package/node_modules/pino/.github/workflows/target-main.yml +0 -23
- package/node_modules/pino/.taprc.yaml +0 -8
- package/node_modules/pino/docsify/sidebar.md +0 -26
- package/node_modules/pino/favicon-16x16.png +0 -0
- package/node_modules/pino/favicon-32x32.png +0 -0
- package/node_modules/pino/lib/worker-pipeline.js +0 -38
- package/node_modules/pino/node_modules/sonic-boom/.eslintignore +0 -2
- package/node_modules/pino/node_modules/sonic-boom/.husky/pre-commit +0 -4
- package/node_modules/pino/node_modules/sonic-boom/.taprc.yaml +0 -11
- package/node_modules/pino/node_modules/sonic-boom/README.md +0 -151
- package/node_modules/pino/node_modules/sonic-boom/bench.js +0 -98
- package/node_modules/pino/node_modules/sonic-boom/check.js +0 -18
- package/node_modules/pino/node_modules/sonic-boom/example.js +0 -8
- package/node_modules/pino/node_modules/sonic-boom/fixtures/firehose.js +0 -22
- package/node_modules/pino/node_modules/sonic-boom/index.js +0 -690
- package/node_modules/pino/node_modules/sonic-boom/package.json +0 -50
- package/node_modules/pino/node_modules/sonic-boom/test/destroy.test.js +0 -49
- package/node_modules/pino/node_modules/sonic-boom/test/end.test.js +0 -98
- package/node_modules/pino/node_modules/sonic-boom/test/flush-sync.test.js +0 -140
- package/node_modules/pino/node_modules/sonic-boom/test/flush.test.js +0 -419
- package/node_modules/pino/node_modules/sonic-boom/test/fsync.test.js +0 -63
- package/node_modules/pino/node_modules/sonic-boom/test/helper.js +0 -42
- package/node_modules/pino/node_modules/sonic-boom/test/minlength.test.js +0 -35
- package/node_modules/pino/node_modules/sonic-boom/test/mode.test.js +0 -116
- package/node_modules/pino/node_modules/sonic-boom/test/reopen.test.js +0 -239
- package/node_modules/pino/node_modules/sonic-boom/test/retry.test.js +0 -414
- package/node_modules/pino/node_modules/sonic-boom/test/sync.test.js +0 -261
- package/node_modules/pino/node_modules/sonic-boom/test/write.test.js +0 -465
- package/node_modules/pino/node_modules/sonic-boom/types/index.d.ts +0 -62
- package/node_modules/pino/node_modules/sonic-boom/types/tests/test.ts +0 -4
- package/node_modules/pino/pino-banner.png +0 -0
- package/node_modules/pino/pino-logo-hire.png +0 -0
- package/node_modules/pino/pino-tree.png +0 -0
- package/node_modules/pino/pretty-demo.png +0 -0
- package/node_modules/pino/test/errorKey.test.js +0 -34
- package/node_modules/pino/test/transport/core.test.ts +0 -236
- package/node_modules/pino-std-serializers/.taprc +0 -2
- package/node_modules/process/.eslintrc +0 -21
- package/node_modules/process/LICENSE +0 -22
- package/node_modules/process/README.md +0 -26
- package/node_modules/process/browser.js +0 -184
- package/node_modules/process/index.js +0 -2
- package/node_modules/process/package.json +0 -27
- package/node_modules/process/test.js +0 -199
- package/node_modules/process-warning/.taprc +0 -2
- package/node_modules/readable-stream/LICENSE +0 -47
- package/node_modules/readable-stream/README.md +0 -116
- package/node_modules/readable-stream/lib/_stream_duplex.js +0 -4
- package/node_modules/readable-stream/lib/_stream_passthrough.js +0 -4
- package/node_modules/readable-stream/lib/_stream_readable.js +0 -4
- package/node_modules/readable-stream/lib/_stream_transform.js +0 -4
- package/node_modules/readable-stream/lib/_stream_writable.js +0 -4
- package/node_modules/readable-stream/lib/internal/streams/add-abort-signal.js +0 -52
- package/node_modules/readable-stream/lib/internal/streams/buffer_list.js +0 -157
- package/node_modules/readable-stream/lib/internal/streams/compose.js +0 -194
- package/node_modules/readable-stream/lib/internal/streams/destroy.js +0 -290
- package/node_modules/readable-stream/lib/internal/streams/duplex.js +0 -143
- package/node_modules/readable-stream/lib/internal/streams/duplexify.js +0 -378
- package/node_modules/readable-stream/lib/internal/streams/end-of-stream.js +0 -286
- package/node_modules/readable-stream/lib/internal/streams/from.js +0 -98
- package/node_modules/readable-stream/lib/internal/streams/lazy_transform.js +0 -51
- package/node_modules/readable-stream/lib/internal/streams/legacy.js +0 -89
- package/node_modules/readable-stream/lib/internal/streams/operators.js +0 -457
- package/node_modules/readable-stream/lib/internal/streams/passthrough.js +0 -39
- package/node_modules/readable-stream/lib/internal/streams/pipeline.js +0 -471
- package/node_modules/readable-stream/lib/internal/streams/readable.js +0 -1290
- package/node_modules/readable-stream/lib/internal/streams/state.js +0 -39
- package/node_modules/readable-stream/lib/internal/streams/transform.js +0 -180
- package/node_modules/readable-stream/lib/internal/streams/utils.js +0 -327
- package/node_modules/readable-stream/lib/internal/streams/writable.js +0 -819
- package/node_modules/readable-stream/lib/internal/validators.js +0 -530
- package/node_modules/readable-stream/lib/ours/browser.js +0 -35
- package/node_modules/readable-stream/lib/ours/errors.js +0 -343
- package/node_modules/readable-stream/lib/ours/index.js +0 -65
- package/node_modules/readable-stream/lib/ours/primordials.js +0 -124
- package/node_modules/readable-stream/lib/ours/util/inspect.js +0 -55
- package/node_modules/readable-stream/lib/ours/util.js +0 -148
- package/node_modules/readable-stream/lib/stream/promises.js +0 -43
- package/node_modules/readable-stream/lib/stream.js +0 -143
- package/node_modules/readable-stream/package.json +0 -88
- package/node_modules/safe-buffer/LICENSE +0 -21
- package/node_modules/safe-buffer/README.md +0 -584
- package/node_modules/safe-buffer/index.d.ts +0 -187
- package/node_modules/safe-buffer/index.js +0 -65
- package/node_modules/safe-buffer/package.json +0 -51
- package/node_modules/string_decoder/LICENSE +0 -48
- package/node_modules/string_decoder/README.md +0 -47
- package/node_modules/string_decoder/lib/string_decoder.js +0 -296
- package/node_modules/string_decoder/package.json +0 -34
package/node_modules/@opentelemetry/semantic-conventions/build/esnext/experimental_metrics.js
CHANGED
|
@@ -297,6 +297,34 @@ export const METRIC_CONTAINER_FILESYSTEM_CAPACITY = 'container.filesystem.capaci
|
|
|
297
297
|
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
298
298
|
*/
|
|
299
299
|
export const METRIC_CONTAINER_FILESYSTEM_USAGE = 'container.filesystem.usage';
|
|
300
|
+
/**
|
|
301
|
+
* Container memory available.
|
|
302
|
+
*
|
|
303
|
+
* @note Available memory for use. This is defined as the memory limit - workingSetBytes. If memory limit is undefined, the available bytes is omitted.
|
|
304
|
+
* In general, this metric can be derived from [cadvisor](https://github.com/google/cadvisor/blob/v0.53.0/docs/storage/prometheus.md#prometheus-container-metrics) and by subtracting the `container_memory_working_set_bytes` metric from the `container_spec_memory_limit_bytes` metric.
|
|
305
|
+
* In K8s, this metric is derived from the [MemoryStats.AvailableBytes](https://pkg.go.dev/k8s.io/kubelet@v0.34.0/pkg/apis/stats/v1alpha1#MemoryStats) field of the [PodStats.Memory](https://pkg.go.dev/k8s.io/kubelet@v0.34.0/pkg/apis/stats/v1alpha1#PodStats) of the Kubelet's stats API.
|
|
306
|
+
*
|
|
307
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
308
|
+
*/
|
|
309
|
+
export const METRIC_CONTAINER_MEMORY_AVAILABLE = 'container.memory.available';
|
|
310
|
+
/**
|
|
311
|
+
* Container memory paging faults.
|
|
312
|
+
*
|
|
313
|
+
* @note In general, this metric can be derived from [cadvisor](https://github.com/google/cadvisor/blob/v0.53.0/docs/storage/prometheus.md#prometheus-container-metrics) and specifically the `container_memory_failures_total{failure_type=pgfault, scope=container}` and `container_memory_failures_total{failure_type=pgmajfault, scope=container}`metric.
|
|
314
|
+
* In K8s, this metric is derived from the [MemoryStats.PageFaults](https://pkg.go.dev/k8s.io/kubelet@v0.34.0/pkg/apis/stats/v1alpha1#MemoryStats) and [MemoryStats.MajorPageFaults](https://pkg.go.dev/k8s.io/kubelet@v0.34.0/pkg/apis/stats/v1alpha1#MemoryStats) field of the [PodStats.Memory](https://pkg.go.dev/k8s.io/kubelet@v0.34.0/pkg/apis/stats/v1alpha1#PodStats) of the Kubelet's stats API.
|
|
315
|
+
*
|
|
316
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
317
|
+
*/
|
|
318
|
+
export const METRIC_CONTAINER_MEMORY_PAGING_FAULTS = 'container.memory.paging.faults';
|
|
319
|
+
/**
|
|
320
|
+
* Container memory RSS.
|
|
321
|
+
*
|
|
322
|
+
* @note In general, this metric can be derived from [cadvisor](https://github.com/google/cadvisor/blob/v0.53.0/docs/storage/prometheus.md#prometheus-container-metrics) and specifically the `container_memory_rss` metric.
|
|
323
|
+
* In K8s, this metric is derived from the [MemoryStats.RSSBytes](https://pkg.go.dev/k8s.io/kubelet@v0.34.0/pkg/apis/stats/v1alpha1#MemoryStats) field of the [PodStats.Memory](https://pkg.go.dev/k8s.io/kubelet@v0.34.0/pkg/apis/stats/v1alpha1#PodStats) of the Kubelet's stats API.
|
|
324
|
+
*
|
|
325
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
326
|
+
*/
|
|
327
|
+
export const METRIC_CONTAINER_MEMORY_RSS = 'container.memory.rss';
|
|
300
328
|
/**
|
|
301
329
|
* Memory usage of the container.
|
|
302
330
|
*
|
|
@@ -305,6 +333,15 @@ export const METRIC_CONTAINER_FILESYSTEM_USAGE = 'container.filesystem.usage';
|
|
|
305
333
|
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
306
334
|
*/
|
|
307
335
|
export const METRIC_CONTAINER_MEMORY_USAGE = 'container.memory.usage';
|
|
336
|
+
/**
|
|
337
|
+
* Container memory working set.
|
|
338
|
+
*
|
|
339
|
+
* @note In general, this metric can be derived from [cadvisor](https://github.com/google/cadvisor/blob/v0.53.0/docs/storage/prometheus.md#prometheus-container-metrics) and specifically the `container_memory_working_set_bytes` metric.
|
|
340
|
+
* In K8s, this metric is derived from the [MemoryStats.WorkingSetBytes](https://pkg.go.dev/k8s.io/kubelet@v0.34.0/pkg/apis/stats/v1alpha1#MemoryStats) field of the [PodStats.Memory](https://pkg.go.dev/k8s.io/kubelet@v0.34.0/pkg/apis/stats/v1alpha1#PodStats) of the Kubelet's stats API.
|
|
341
|
+
*
|
|
342
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
343
|
+
*/
|
|
344
|
+
export const METRIC_CONTAINER_MEMORY_WORKING_SET = 'container.memory.working_set';
|
|
308
345
|
/**
|
|
309
346
|
* Network bytes for the container.
|
|
310
347
|
*
|
|
@@ -1058,6 +1095,14 @@ export const METRIC_JVM_SYSTEM_CPU_UTILIZATION = 'jvm.system.cpu.utilization';
|
|
|
1058
1095
|
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
1059
1096
|
*/
|
|
1060
1097
|
export const METRIC_K8S_CONTAINER_CPU_LIMIT = 'k8s.container.cpu.limit';
|
|
1098
|
+
/**
|
|
1099
|
+
* The ratio of container CPU usage to its CPU limit.
|
|
1100
|
+
*
|
|
1101
|
+
* @note The value range is [0.0,1.0]. A value of 1.0 means the container is using 100% of its CPU limit. If the CPU limit is not set, this metric **SHOULD NOT** be emitted for that container.
|
|
1102
|
+
*
|
|
1103
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
1104
|
+
*/
|
|
1105
|
+
export const METRIC_K8S_CONTAINER_CPU_LIMIT_UTILIZATION = 'k8s.container.cpu.limit_utilization';
|
|
1061
1106
|
/**
|
|
1062
1107
|
* CPU resource requested for the container.
|
|
1063
1108
|
*
|
|
@@ -1066,6 +1111,12 @@ export const METRIC_K8S_CONTAINER_CPU_LIMIT = 'k8s.container.cpu.limit';
|
|
|
1066
1111
|
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
1067
1112
|
*/
|
|
1068
1113
|
export const METRIC_K8S_CONTAINER_CPU_REQUEST = 'k8s.container.cpu.request';
|
|
1114
|
+
/**
|
|
1115
|
+
* The ratio of container CPU usage to its CPU request.
|
|
1116
|
+
*
|
|
1117
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
1118
|
+
*/
|
|
1119
|
+
export const METRIC_K8S_CONTAINER_CPU_REQUEST_UTILIZATION = 'k8s.container.cpu.request_utilization';
|
|
1069
1120
|
/**
|
|
1070
1121
|
* Maximum ephemeral storage resource limit set for the container.
|
|
1071
1122
|
*
|
|
@@ -1154,41 +1205,85 @@ export const METRIC_K8S_CONTAINER_STORAGE_LIMIT = 'k8s.container.storage.limit';
|
|
|
1154
1205
|
*/
|
|
1155
1206
|
export const METRIC_K8S_CONTAINER_STORAGE_REQUEST = 'k8s.container.storage.request';
|
|
1156
1207
|
/**
|
|
1157
|
-
*
|
|
1208
|
+
* Deprecated, use `k8s.cronjob.job.active` instead.
|
|
1158
1209
|
*
|
|
1159
1210
|
* @note This metric aligns with the `active` field of the
|
|
1160
1211
|
* [K8s CronJobStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#cronjobstatus-v1-batch).
|
|
1161
1212
|
*
|
|
1162
1213
|
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
1214
|
+
*
|
|
1215
|
+
* @deprecated Replaced by `k8s.cronjob.job.active`.
|
|
1163
1216
|
*/
|
|
1164
1217
|
export const METRIC_K8S_CRONJOB_ACTIVE_JOBS = 'k8s.cronjob.active_jobs';
|
|
1165
1218
|
/**
|
|
1166
|
-
*
|
|
1219
|
+
* The number of actively running jobs for a cronjob.
|
|
1220
|
+
*
|
|
1221
|
+
* @note This metric aligns with the `active` field of the
|
|
1222
|
+
* [K8s CronJobStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#cronjobstatus-v1-batch).
|
|
1223
|
+
*
|
|
1224
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
1225
|
+
*/
|
|
1226
|
+
export const METRIC_K8S_CRONJOB_JOB_ACTIVE = 'k8s.cronjob.job.active';
|
|
1227
|
+
/**
|
|
1228
|
+
* Deprecated, use `k8s.daemonset.node.current_scheduled` instead.
|
|
1167
1229
|
*
|
|
1168
1230
|
* @note This metric aligns with the `currentNumberScheduled` field of the
|
|
1169
1231
|
* [K8s DaemonSetStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#daemonsetstatus-v1-apps).
|
|
1170
1232
|
*
|
|
1171
1233
|
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
1234
|
+
*
|
|
1235
|
+
* @deprecated Replaced by `k8s.daemonset.node.current_scheduled`.
|
|
1172
1236
|
*/
|
|
1173
1237
|
export const METRIC_K8S_DAEMONSET_CURRENT_SCHEDULED_NODES = 'k8s.daemonset.current_scheduled_nodes';
|
|
1174
1238
|
/**
|
|
1175
|
-
*
|
|
1239
|
+
* Deprecated, use `k8s.daemonset.node.desired_scheduled` instead.
|
|
1176
1240
|
*
|
|
1177
1241
|
* @note This metric aligns with the `desiredNumberScheduled` field of the
|
|
1178
1242
|
* [K8s DaemonSetStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#daemonsetstatus-v1-apps).
|
|
1179
1243
|
*
|
|
1180
1244
|
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
1245
|
+
*
|
|
1246
|
+
* @deprecated Replaced by `k8s.daemonset.node.desired_scheduled`.
|
|
1181
1247
|
*/
|
|
1182
1248
|
export const METRIC_K8S_DAEMONSET_DESIRED_SCHEDULED_NODES = 'k8s.daemonset.desired_scheduled_nodes';
|
|
1183
1249
|
/**
|
|
1184
|
-
*
|
|
1250
|
+
* Deprecated, use `k8s.daemonset.node.misscheduled` instead.
|
|
1185
1251
|
*
|
|
1186
1252
|
* @note This metric aligns with the `numberMisscheduled` field of the
|
|
1187
1253
|
* [K8s DaemonSetStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#daemonsetstatus-v1-apps).
|
|
1188
1254
|
*
|
|
1189
1255
|
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
1256
|
+
*
|
|
1257
|
+
* @deprecated Replaced by `k8s.daemonset.node.misscheduled`.
|
|
1190
1258
|
*/
|
|
1191
1259
|
export const METRIC_K8S_DAEMONSET_MISSCHEDULED_NODES = 'k8s.daemonset.misscheduled_nodes';
|
|
1260
|
+
/**
|
|
1261
|
+
* Number of nodes that are running at least 1 daemon pod and are supposed to run the daemon pod.
|
|
1262
|
+
*
|
|
1263
|
+
* @note This metric aligns with the `currentNumberScheduled` field of the
|
|
1264
|
+
* [K8s DaemonSetStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#daemonsetstatus-v1-apps).
|
|
1265
|
+
*
|
|
1266
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
1267
|
+
*/
|
|
1268
|
+
export const METRIC_K8S_DAEMONSET_NODE_CURRENT_SCHEDULED = 'k8s.daemonset.node.current_scheduled';
|
|
1269
|
+
/**
|
|
1270
|
+
* Number of nodes that should be running the daemon pod (including nodes currently running the daemon pod).
|
|
1271
|
+
*
|
|
1272
|
+
* @note This metric aligns with the `desiredNumberScheduled` field of the
|
|
1273
|
+
* [K8s DaemonSetStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#daemonsetstatus-v1-apps).
|
|
1274
|
+
*
|
|
1275
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
1276
|
+
*/
|
|
1277
|
+
export const METRIC_K8S_DAEMONSET_NODE_DESIRED_SCHEDULED = 'k8s.daemonset.node.desired_scheduled';
|
|
1278
|
+
/**
|
|
1279
|
+
* Number of nodes that are running the daemon pod, but are not supposed to run the daemon pod.
|
|
1280
|
+
*
|
|
1281
|
+
* @note This metric aligns with the `numberMisscheduled` field of the
|
|
1282
|
+
* [K8s DaemonSetStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#daemonsetstatus-v1-apps).
|
|
1283
|
+
*
|
|
1284
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
1285
|
+
*/
|
|
1286
|
+
export const METRIC_K8S_DAEMONSET_NODE_MISSCHEDULED = 'k8s.daemonset.node.misscheduled';
|
|
1192
1287
|
/**
|
|
1193
1288
|
* Number of nodes that should be running the daemon pod and have one or more of the daemon pod running and ready.
|
|
1194
1289
|
*
|
|
@@ -1197,50 +1292,89 @@ export const METRIC_K8S_DAEMONSET_MISSCHEDULED_NODES = 'k8s.daemonset.misschedul
|
|
|
1197
1292
|
*
|
|
1198
1293
|
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
1199
1294
|
*/
|
|
1295
|
+
export const METRIC_K8S_DAEMONSET_NODE_READY = 'k8s.daemonset.node.ready';
|
|
1296
|
+
/**
|
|
1297
|
+
* Deprecated, use `k8s.daemonset.node.ready` instead.
|
|
1298
|
+
*
|
|
1299
|
+
* @note This metric aligns with the `numberReady` field of the
|
|
1300
|
+
* [K8s DaemonSetStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#daemonsetstatus-v1-apps).
|
|
1301
|
+
*
|
|
1302
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
1303
|
+
*
|
|
1304
|
+
* @deprecated Replaced by `k8s.daemonset.node.ready`.
|
|
1305
|
+
*/
|
|
1200
1306
|
export const METRIC_K8S_DAEMONSET_READY_NODES = 'k8s.daemonset.ready_nodes';
|
|
1201
1307
|
/**
|
|
1202
|
-
*
|
|
1308
|
+
* Deprecated, use `k8s.deployment.pod.available` instead.
|
|
1203
1309
|
*
|
|
1204
1310
|
* @note This metric aligns with the `availableReplicas` field of the
|
|
1205
1311
|
* [K8s DeploymentStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#deploymentstatus-v1-apps).
|
|
1206
1312
|
*
|
|
1207
1313
|
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
1314
|
+
*
|
|
1315
|
+
* @deprecated Replaced by `k8s.deployment.pod.available`.
|
|
1208
1316
|
*/
|
|
1209
1317
|
export const METRIC_K8S_DEPLOYMENT_AVAILABLE_PODS = 'k8s.deployment.available_pods';
|
|
1210
1318
|
/**
|
|
1211
|
-
*
|
|
1319
|
+
* Deprecated, use `k8s.deployment.pod.desired` instead.
|
|
1212
1320
|
*
|
|
1213
1321
|
* @note This metric aligns with the `replicas` field of the
|
|
1214
1322
|
* [K8s DeploymentSpec](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#deploymentspec-v1-apps).
|
|
1215
1323
|
*
|
|
1216
1324
|
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
1325
|
+
*
|
|
1326
|
+
* @deprecated Replaced by `k8s.deployment.pod.desired`.
|
|
1217
1327
|
*/
|
|
1218
1328
|
export const METRIC_K8S_DEPLOYMENT_DESIRED_PODS = 'k8s.deployment.desired_pods';
|
|
1219
1329
|
/**
|
|
1220
|
-
*
|
|
1330
|
+
* Total number of available replica pods (ready for at least minReadySeconds) targeted by this deployment.
|
|
1331
|
+
*
|
|
1332
|
+
* @note This metric aligns with the `availableReplicas` field of the
|
|
1333
|
+
* [K8s DeploymentStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#deploymentstatus-v1-apps).
|
|
1334
|
+
*
|
|
1335
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
1336
|
+
*/
|
|
1337
|
+
export const METRIC_K8S_DEPLOYMENT_POD_AVAILABLE = 'k8s.deployment.pod.available';
|
|
1338
|
+
/**
|
|
1339
|
+
* Number of desired replica pods in this deployment.
|
|
1340
|
+
*
|
|
1341
|
+
* @note This metric aligns with the `replicas` field of the
|
|
1342
|
+
* [K8s DeploymentSpec](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#deploymentspec-v1-apps).
|
|
1343
|
+
*
|
|
1344
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
1345
|
+
*/
|
|
1346
|
+
export const METRIC_K8S_DEPLOYMENT_POD_DESIRED = 'k8s.deployment.pod.desired';
|
|
1347
|
+
/**
|
|
1348
|
+
* Deprecated, use `k8s.hpa.pod.current` instead.
|
|
1221
1349
|
*
|
|
1222
1350
|
* @note This metric aligns with the `currentReplicas` field of the
|
|
1223
1351
|
* [K8s HorizontalPodAutoscalerStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#horizontalpodautoscalerstatus-v2-autoscaling)
|
|
1224
1352
|
*
|
|
1225
1353
|
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
1354
|
+
*
|
|
1355
|
+
* @deprecated Replaced by `k8s.hpa.pod.current`.
|
|
1226
1356
|
*/
|
|
1227
1357
|
export const METRIC_K8S_HPA_CURRENT_PODS = 'k8s.hpa.current_pods';
|
|
1228
1358
|
/**
|
|
1229
|
-
*
|
|
1359
|
+
* Deprecated, use `k8s.hpa.pod.desired` instead.
|
|
1230
1360
|
*
|
|
1231
1361
|
* @note This metric aligns with the `desiredReplicas` field of the
|
|
1232
1362
|
* [K8s HorizontalPodAutoscalerStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#horizontalpodautoscalerstatus-v2-autoscaling)
|
|
1233
1363
|
*
|
|
1234
1364
|
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
1365
|
+
*
|
|
1366
|
+
* @deprecated Replaced by `k8s.hpa.pod.desired`.
|
|
1235
1367
|
*/
|
|
1236
1368
|
export const METRIC_K8S_HPA_DESIRED_PODS = 'k8s.hpa.desired_pods';
|
|
1237
1369
|
/**
|
|
1238
|
-
*
|
|
1370
|
+
* Deprecated, use `k8s.hpa.pod.max` instead.
|
|
1239
1371
|
*
|
|
1240
1372
|
* @note This metric aligns with the `maxReplicas` field of the
|
|
1241
1373
|
* [K8s HorizontalPodAutoscalerSpec](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#horizontalpodautoscalerspec-v2-autoscaling)
|
|
1242
1374
|
*
|
|
1243
1375
|
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
1376
|
+
*
|
|
1377
|
+
* @deprecated Replaced by `k8s.hpa.pod.max`.
|
|
1244
1378
|
*/
|
|
1245
1379
|
export const METRIC_K8S_HPA_MAX_PODS = 'k8s.hpa.max_pods';
|
|
1246
1380
|
/**
|
|
@@ -1277,50 +1411,132 @@ export const METRIC_K8S_HPA_METRIC_TARGET_CPU_AVERAGE_VALUE = 'k8s.hpa.metric.ta
|
|
|
1277
1411
|
*/
|
|
1278
1412
|
export const METRIC_K8S_HPA_METRIC_TARGET_CPU_VALUE = 'k8s.hpa.metric.target.cpu.value';
|
|
1279
1413
|
/**
|
|
1280
|
-
*
|
|
1414
|
+
* Deprecated, use `k8s.hpa.pod.min` instead.
|
|
1281
1415
|
*
|
|
1282
1416
|
* @note This metric aligns with the `minReplicas` field of the
|
|
1283
1417
|
* [K8s HorizontalPodAutoscalerSpec](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#horizontalpodautoscalerspec-v2-autoscaling)
|
|
1284
1418
|
*
|
|
1285
1419
|
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
1420
|
+
*
|
|
1421
|
+
* @deprecated Replaced by `k8s.hpa.pod.min`.
|
|
1286
1422
|
*/
|
|
1287
1423
|
export const METRIC_K8S_HPA_MIN_PODS = 'k8s.hpa.min_pods';
|
|
1288
1424
|
/**
|
|
1289
|
-
*
|
|
1425
|
+
* Current number of replica pods managed by this horizontal pod autoscaler, as last seen by the autoscaler.
|
|
1426
|
+
*
|
|
1427
|
+
* @note This metric aligns with the `currentReplicas` field of the
|
|
1428
|
+
* [K8s HorizontalPodAutoscalerStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#horizontalpodautoscalerstatus-v2-autoscaling)
|
|
1429
|
+
*
|
|
1430
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
1431
|
+
*/
|
|
1432
|
+
export const METRIC_K8S_HPA_POD_CURRENT = 'k8s.hpa.pod.current';
|
|
1433
|
+
/**
|
|
1434
|
+
* Desired number of replica pods managed by this horizontal pod autoscaler, as last calculated by the autoscaler.
|
|
1435
|
+
*
|
|
1436
|
+
* @note This metric aligns with the `desiredReplicas` field of the
|
|
1437
|
+
* [K8s HorizontalPodAutoscalerStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#horizontalpodautoscalerstatus-v2-autoscaling)
|
|
1438
|
+
*
|
|
1439
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
1440
|
+
*/
|
|
1441
|
+
export const METRIC_K8S_HPA_POD_DESIRED = 'k8s.hpa.pod.desired';
|
|
1442
|
+
/**
|
|
1443
|
+
* The upper limit for the number of replica pods to which the autoscaler can scale up.
|
|
1444
|
+
*
|
|
1445
|
+
* @note This metric aligns with the `maxReplicas` field of the
|
|
1446
|
+
* [K8s HorizontalPodAutoscalerSpec](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#horizontalpodautoscalerspec-v2-autoscaling)
|
|
1447
|
+
*
|
|
1448
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
1449
|
+
*/
|
|
1450
|
+
export const METRIC_K8S_HPA_POD_MAX = 'k8s.hpa.pod.max';
|
|
1451
|
+
/**
|
|
1452
|
+
* The lower limit for the number of replica pods to which the autoscaler can scale down.
|
|
1453
|
+
*
|
|
1454
|
+
* @note This metric aligns with the `minReplicas` field of the
|
|
1455
|
+
* [K8s HorizontalPodAutoscalerSpec](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#horizontalpodautoscalerspec-v2-autoscaling)
|
|
1456
|
+
*
|
|
1457
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
1458
|
+
*/
|
|
1459
|
+
export const METRIC_K8S_HPA_POD_MIN = 'k8s.hpa.pod.min';
|
|
1460
|
+
/**
|
|
1461
|
+
* Deprecated, use `k8s.job.pod.active` instead.
|
|
1290
1462
|
*
|
|
1291
1463
|
* @note This metric aligns with the `active` field of the
|
|
1292
1464
|
* [K8s JobStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#jobstatus-v1-batch).
|
|
1293
1465
|
*
|
|
1294
1466
|
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
1467
|
+
*
|
|
1468
|
+
* @deprecated Replaced by `k8s.job.pod.active`.
|
|
1295
1469
|
*/
|
|
1296
1470
|
export const METRIC_K8S_JOB_ACTIVE_PODS = 'k8s.job.active_pods';
|
|
1297
1471
|
/**
|
|
1298
|
-
*
|
|
1472
|
+
* Deprecated, use `k8s.job.pod.desired_successful` instead.
|
|
1299
1473
|
*
|
|
1300
1474
|
* @note This metric aligns with the `completions` field of the
|
|
1301
1475
|
* [K8s JobSpec](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#jobspec-v1-batch)..
|
|
1302
1476
|
*
|
|
1303
1477
|
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
1478
|
+
*
|
|
1479
|
+
* @deprecated Replaced by `k8s.job.pod.desired_successful`.
|
|
1304
1480
|
*/
|
|
1305
1481
|
export const METRIC_K8S_JOB_DESIRED_SUCCESSFUL_PODS = 'k8s.job.desired_successful_pods';
|
|
1306
1482
|
/**
|
|
1307
|
-
*
|
|
1483
|
+
* Deprecated, use `k8s.job.pod.failed` instead.
|
|
1308
1484
|
*
|
|
1309
1485
|
* @note This metric aligns with the `failed` field of the
|
|
1310
1486
|
* [K8s JobStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#jobstatus-v1-batch).
|
|
1311
1487
|
*
|
|
1312
1488
|
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
1489
|
+
*
|
|
1490
|
+
* @deprecated Replaced by `k8s.job.pod.failed`.
|
|
1313
1491
|
*/
|
|
1314
1492
|
export const METRIC_K8S_JOB_FAILED_PODS = 'k8s.job.failed_pods';
|
|
1315
1493
|
/**
|
|
1316
|
-
*
|
|
1494
|
+
* Deprecated, use `k8s.job.pod.max_parallel` instead.
|
|
1317
1495
|
*
|
|
1318
1496
|
* @note This metric aligns with the `parallelism` field of the
|
|
1319
1497
|
* [K8s JobSpec](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#jobspec-v1-batch).
|
|
1320
1498
|
*
|
|
1321
1499
|
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
1500
|
+
*
|
|
1501
|
+
* @deprecated Replaced by `k8s.job.pod.max_parallel`.
|
|
1322
1502
|
*/
|
|
1323
1503
|
export const METRIC_K8S_JOB_MAX_PARALLEL_PODS = 'k8s.job.max_parallel_pods';
|
|
1504
|
+
/**
|
|
1505
|
+
* The number of pending and actively running pods for a job.
|
|
1506
|
+
*
|
|
1507
|
+
* @note This metric aligns with the `active` field of the
|
|
1508
|
+
* [K8s JobStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#jobstatus-v1-batch).
|
|
1509
|
+
*
|
|
1510
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
1511
|
+
*/
|
|
1512
|
+
export const METRIC_K8S_JOB_POD_ACTIVE = 'k8s.job.pod.active';
|
|
1513
|
+
/**
|
|
1514
|
+
* The desired number of successfully finished pods the job should be run with.
|
|
1515
|
+
*
|
|
1516
|
+
* @note This metric aligns with the `completions` field of the
|
|
1517
|
+
* [K8s JobSpec](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#jobspec-v1-batch)..
|
|
1518
|
+
*
|
|
1519
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
1520
|
+
*/
|
|
1521
|
+
export const METRIC_K8S_JOB_POD_DESIRED_SUCCESSFUL = 'k8s.job.pod.desired_successful';
|
|
1522
|
+
/**
|
|
1523
|
+
* The number of pods which reached phase Failed for a job.
|
|
1524
|
+
*
|
|
1525
|
+
* @note This metric aligns with the `failed` field of the
|
|
1526
|
+
* [K8s JobStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#jobstatus-v1-batch).
|
|
1527
|
+
*
|
|
1528
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
1529
|
+
*/
|
|
1530
|
+
export const METRIC_K8S_JOB_POD_FAILED = 'k8s.job.pod.failed';
|
|
1531
|
+
/**
|
|
1532
|
+
* The max desired number of pods the job should run at any given time.
|
|
1533
|
+
*
|
|
1534
|
+
* @note This metric aligns with the `parallelism` field of the
|
|
1535
|
+
* [K8s JobSpec](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#jobspec-v1-batch).
|
|
1536
|
+
*
|
|
1537
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
1538
|
+
*/
|
|
1539
|
+
export const METRIC_K8S_JOB_POD_MAX_PARALLEL = 'k8s.job.pod.max_parallel';
|
|
1324
1540
|
/**
|
|
1325
1541
|
* The number of pods which reached phase Succeeded for a job.
|
|
1326
1542
|
*
|
|
@@ -1329,6 +1545,17 @@ export const METRIC_K8S_JOB_MAX_PARALLEL_PODS = 'k8s.job.max_parallel_pods';
|
|
|
1329
1545
|
*
|
|
1330
1546
|
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
1331
1547
|
*/
|
|
1548
|
+
export const METRIC_K8S_JOB_POD_SUCCESSFUL = 'k8s.job.pod.successful';
|
|
1549
|
+
/**
|
|
1550
|
+
* Deprecated, use `k8s.job.pod.successful` instead.
|
|
1551
|
+
*
|
|
1552
|
+
* @note This metric aligns with the `succeeded` field of the
|
|
1553
|
+
* [K8s JobStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#jobstatus-v1-batch).
|
|
1554
|
+
*
|
|
1555
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
1556
|
+
*
|
|
1557
|
+
* @deprecated Replaced by `k8s.job.pod.successful`.
|
|
1558
|
+
*/
|
|
1332
1559
|
export const METRIC_K8S_JOB_SUCCESSFUL_PODS = 'k8s.job.successful_pods';
|
|
1333
1560
|
/**
|
|
1334
1561
|
* Describes number of K8s namespaces that are currently in a given phase.
|
|
@@ -1337,27 +1564,35 @@ export const METRIC_K8S_JOB_SUCCESSFUL_PODS = 'k8s.job.successful_pods';
|
|
|
1337
1564
|
*/
|
|
1338
1565
|
export const METRIC_K8S_NAMESPACE_PHASE = 'k8s.namespace.phase';
|
|
1339
1566
|
/**
|
|
1340
|
-
*
|
|
1567
|
+
* Deprecated, use `k8s.node.cpu.allocatable` instead.
|
|
1341
1568
|
*
|
|
1342
1569
|
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
1570
|
+
*
|
|
1571
|
+
* @deprecated Replaced by `k8s.node.cpu.allocatable`.
|
|
1343
1572
|
*/
|
|
1344
1573
|
export const METRIC_K8S_NODE_ALLOCATABLE_CPU = 'k8s.node.allocatable.cpu';
|
|
1345
1574
|
/**
|
|
1346
|
-
*
|
|
1575
|
+
* Deprecated, use `k8s.node.ephemeral_storage.allocatable` instead.
|
|
1347
1576
|
*
|
|
1348
1577
|
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
1578
|
+
*
|
|
1579
|
+
* @deprecated Replaced by `k8s.node.ephemeral_storage.allocatable`.
|
|
1349
1580
|
*/
|
|
1350
1581
|
export const METRIC_K8S_NODE_ALLOCATABLE_EPHEMERAL_STORAGE = 'k8s.node.allocatable.ephemeral_storage';
|
|
1351
1582
|
/**
|
|
1352
|
-
*
|
|
1583
|
+
* Deprecated, use `k8s.node.memory.allocatable` instead.
|
|
1353
1584
|
*
|
|
1354
1585
|
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
1586
|
+
*
|
|
1587
|
+
* @deprecated Replaced by `k8s.node.memory.allocatable`.
|
|
1355
1588
|
*/
|
|
1356
1589
|
export const METRIC_K8S_NODE_ALLOCATABLE_MEMORY = 'k8s.node.allocatable.memory';
|
|
1357
1590
|
/**
|
|
1358
|
-
*
|
|
1591
|
+
* Deprecated, use `k8s.node.pod.allocatable` instead.
|
|
1359
1592
|
*
|
|
1360
1593
|
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
1594
|
+
*
|
|
1595
|
+
* @deprecated Replaced by `k8s.node.pod.allocatable`.
|
|
1361
1596
|
*/
|
|
1362
1597
|
export const METRIC_K8S_NODE_ALLOCATABLE_PODS = 'k8s.node.allocatable.pods';
|
|
1363
1598
|
/**
|
|
@@ -1368,6 +1603,12 @@ export const METRIC_K8S_NODE_ALLOCATABLE_PODS = 'k8s.node.allocatable.pods';
|
|
|
1368
1603
|
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
1369
1604
|
*/
|
|
1370
1605
|
export const METRIC_K8S_NODE_CONDITION_STATUS = 'k8s.node.condition.status';
|
|
1606
|
+
/**
|
|
1607
|
+
* Amount of cpu allocatable on the node.
|
|
1608
|
+
*
|
|
1609
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
1610
|
+
*/
|
|
1611
|
+
export const METRIC_K8S_NODE_CPU_ALLOCATABLE = 'k8s.node.cpu.allocatable';
|
|
1371
1612
|
/**
|
|
1372
1613
|
* Total CPU time consumed.
|
|
1373
1614
|
*
|
|
@@ -1384,6 +1625,12 @@ export const METRIC_K8S_NODE_CPU_TIME = 'k8s.node.cpu.time';
|
|
|
1384
1625
|
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
1385
1626
|
*/
|
|
1386
1627
|
export const METRIC_K8S_NODE_CPU_USAGE = 'k8s.node.cpu.usage';
|
|
1628
|
+
/**
|
|
1629
|
+
* Amount of ephemeral-storage allocatable on the node.
|
|
1630
|
+
*
|
|
1631
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
1632
|
+
*/
|
|
1633
|
+
export const METRIC_K8S_NODE_EPHEMERAL_STORAGE_ALLOCATABLE = 'k8s.node.ephemeral_storage.allocatable';
|
|
1387
1634
|
/**
|
|
1388
1635
|
* Node filesystem available bytes.
|
|
1389
1636
|
*
|
|
@@ -1419,6 +1666,39 @@ export const METRIC_K8S_NODE_FILESYSTEM_CAPACITY = 'k8s.node.filesystem.capacity
|
|
|
1419
1666
|
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
1420
1667
|
*/
|
|
1421
1668
|
export const METRIC_K8S_NODE_FILESYSTEM_USAGE = 'k8s.node.filesystem.usage';
|
|
1669
|
+
/**
|
|
1670
|
+
* Amount of memory allocatable on the node.
|
|
1671
|
+
*
|
|
1672
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
1673
|
+
*/
|
|
1674
|
+
export const METRIC_K8S_NODE_MEMORY_ALLOCATABLE = 'k8s.node.memory.allocatable';
|
|
1675
|
+
/**
|
|
1676
|
+
* Node memory available.
|
|
1677
|
+
*
|
|
1678
|
+
* @note Available memory for use. This is defined as the memory limit - workingSetBytes. If memory limit is undefined, the available bytes is omitted.
|
|
1679
|
+
* This metric is derived from the [MemoryStats.AvailableBytes](https://pkg.go.dev/k8s.io/kubelet@v0.34.0/pkg/apis/stats/v1alpha1#MemoryStats) field of the [NodeStats.Memory](https://pkg.go.dev/k8s.io/kubelet@v0.34.0/pkg/apis/stats/v1alpha1#NodeStats) of the Kubelet's stats API.
|
|
1680
|
+
*
|
|
1681
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
1682
|
+
*/
|
|
1683
|
+
export const METRIC_K8S_NODE_MEMORY_AVAILABLE = 'k8s.node.memory.available';
|
|
1684
|
+
/**
|
|
1685
|
+
* Node memory paging faults.
|
|
1686
|
+
*
|
|
1687
|
+
* @note Cumulative number of major/minor page faults.
|
|
1688
|
+
* This metric is derived from the [MemoryStats.PageFaults](https://pkg.go.dev/k8s.io/kubelet@v0.34.0/pkg/apis/stats/v1alpha1#MemoryStats) and [MemoryStats.MajorPageFaults](https://pkg.go.dev/k8s.io/kubelet@v0.34.0/pkg/apis/stats/v1alpha1#MemoryStats) fields of the [NodeStats.Memory](https://pkg.go.dev/k8s.io/kubelet@v0.34.0/pkg/apis/stats/v1alpha1#NodeStats) of the Kubelet's stats API.
|
|
1689
|
+
*
|
|
1690
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
1691
|
+
*/
|
|
1692
|
+
export const METRIC_K8S_NODE_MEMORY_PAGING_FAULTS = 'k8s.node.memory.paging.faults';
|
|
1693
|
+
/**
|
|
1694
|
+
* Node memory RSS.
|
|
1695
|
+
*
|
|
1696
|
+
* @note The amount of anonymous and swap cache memory (includes transparent hugepages).
|
|
1697
|
+
* This metric is derived from the [MemoryStats.RSSBytes](https://pkg.go.dev/k8s.io/kubelet@v0.34.0/pkg/apis/stats/v1alpha1#MemoryStats) field of the [NodeStats.Memory](https://pkg.go.dev/k8s.io/kubelet@v0.34.0/pkg/apis/stats/v1alpha1#NodeStats) of the Kubelet's stats API.
|
|
1698
|
+
*
|
|
1699
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
1700
|
+
*/
|
|
1701
|
+
export const METRIC_K8S_NODE_MEMORY_RSS = 'k8s.node.memory.rss';
|
|
1422
1702
|
/**
|
|
1423
1703
|
* Memory usage of the Node.
|
|
1424
1704
|
*
|
|
@@ -1427,6 +1707,15 @@ export const METRIC_K8S_NODE_FILESYSTEM_USAGE = 'k8s.node.filesystem.usage';
|
|
|
1427
1707
|
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
1428
1708
|
*/
|
|
1429
1709
|
export const METRIC_K8S_NODE_MEMORY_USAGE = 'k8s.node.memory.usage';
|
|
1710
|
+
/**
|
|
1711
|
+
* Node memory working set.
|
|
1712
|
+
*
|
|
1713
|
+
* @note The amount of working set memory. This includes recently accessed memory, dirty memory, and kernel memory. WorkingSetBytes is <= UsageBytes.
|
|
1714
|
+
* This metric is derived from the [MemoryStats.WorkingSetBytes](https://pkg.go.dev/k8s.io/kubelet@v0.34.0/pkg/apis/stats/v1alpha1#MemoryStats) field of the [NodeStats.Memory](https://pkg.go.dev/k8s.io/kubelet@v0.34.0/pkg/apis/stats/v1alpha1#NodeStats) of the Kubelet's stats API.
|
|
1715
|
+
*
|
|
1716
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
1717
|
+
*/
|
|
1718
|
+
export const METRIC_K8S_NODE_MEMORY_WORKING_SET = 'k8s.node.memory.working_set';
|
|
1430
1719
|
/**
|
|
1431
1720
|
* Node network errors.
|
|
1432
1721
|
*
|
|
@@ -1439,6 +1728,12 @@ export const METRIC_K8S_NODE_NETWORK_ERRORS = 'k8s.node.network.errors';
|
|
|
1439
1728
|
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
1440
1729
|
*/
|
|
1441
1730
|
export const METRIC_K8S_NODE_NETWORK_IO = 'k8s.node.network.io';
|
|
1731
|
+
/**
|
|
1732
|
+
* Amount of pods allocatable on the node.
|
|
1733
|
+
*
|
|
1734
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
1735
|
+
*/
|
|
1736
|
+
export const METRIC_K8S_NODE_POD_ALLOCATABLE = 'k8s.node.pod.allocatable';
|
|
1442
1737
|
/**
|
|
1443
1738
|
* The time the Node has been running.
|
|
1444
1739
|
*
|
|
@@ -1499,6 +1794,33 @@ export const METRIC_K8S_POD_FILESYSTEM_CAPACITY = 'k8s.pod.filesystem.capacity';
|
|
|
1499
1794
|
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
1500
1795
|
*/
|
|
1501
1796
|
export const METRIC_K8S_POD_FILESYSTEM_USAGE = 'k8s.pod.filesystem.usage';
|
|
1797
|
+
/**
|
|
1798
|
+
* Pod memory available.
|
|
1799
|
+
*
|
|
1800
|
+
* @note Available memory for use. This is defined as the memory limit - workingSetBytes. If memory limit is undefined, the available bytes is omitted.
|
|
1801
|
+
* This metric is derived from the [MemoryStats.AvailableBytes](https://pkg.go.dev/k8s.io/kubelet@v0.34.0/pkg/apis/stats/v1alpha1#MemoryStats) field of the [PodStats.Memory](https://pkg.go.dev/k8s.io/kubelet@v0.34.0/pkg/apis/stats/v1alpha1#PodStats) of the Kubelet's stats API.
|
|
1802
|
+
*
|
|
1803
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
1804
|
+
*/
|
|
1805
|
+
export const METRIC_K8S_POD_MEMORY_AVAILABLE = 'k8s.pod.memory.available';
|
|
1806
|
+
/**
|
|
1807
|
+
* Pod memory paging faults.
|
|
1808
|
+
*
|
|
1809
|
+
* @note Cumulative number of major/minor page faults.
|
|
1810
|
+
* This metric is derived from the [MemoryStats.PageFaults](https://pkg.go.dev/k8s.io/kubelet@v0.34.0/pkg/apis/stats/v1alpha1#MemoryStats) and [MemoryStats.MajorPageFaults](https://pkg.go.dev/k8s.io/kubelet@v0.34.0/pkg/apis/stats/v1alpha1#MemoryStats) field of the [PodStats.Memory](https://pkg.go.dev/k8s.io/kubelet@v0.34.0/pkg/apis/stats/v1alpha1#PodStats) of the Kubelet's stats API.
|
|
1811
|
+
*
|
|
1812
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
1813
|
+
*/
|
|
1814
|
+
export const METRIC_K8S_POD_MEMORY_PAGING_FAULTS = 'k8s.pod.memory.paging.faults';
|
|
1815
|
+
/**
|
|
1816
|
+
* Pod memory RSS.
|
|
1817
|
+
*
|
|
1818
|
+
* @note The amount of anonymous and swap cache memory (includes transparent hugepages).
|
|
1819
|
+
* This metric is derived from the [MemoryStats.RSSBytes](https://pkg.go.dev/k8s.io/kubelet@v0.34.0/pkg/apis/stats/v1alpha1#MemoryStats) field of the [PodStats.Memory](https://pkg.go.dev/k8s.io/kubelet@v0.34.0/pkg/apis/stats/v1alpha1#PodStats) of the Kubelet's stats API.
|
|
1820
|
+
*
|
|
1821
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
1822
|
+
*/
|
|
1823
|
+
export const METRIC_K8S_POD_MEMORY_RSS = 'k8s.pod.memory.rss';
|
|
1502
1824
|
/**
|
|
1503
1825
|
* Memory usage of the Pod.
|
|
1504
1826
|
*
|
|
@@ -1507,6 +1829,15 @@ export const METRIC_K8S_POD_FILESYSTEM_USAGE = 'k8s.pod.filesystem.usage';
|
|
|
1507
1829
|
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
1508
1830
|
*/
|
|
1509
1831
|
export const METRIC_K8S_POD_MEMORY_USAGE = 'k8s.pod.memory.usage';
|
|
1832
|
+
/**
|
|
1833
|
+
* Pod memory working set.
|
|
1834
|
+
*
|
|
1835
|
+
* @note The amount of working set memory. This includes recently accessed memory, dirty memory, and kernel memory. WorkingSetBytes is <= UsageBytes.
|
|
1836
|
+
* This metric is derived from the [MemoryStats.WorkingSetBytes](https://pkg.go.dev/k8s.io/kubelet@v0.34.0/pkg/apis/stats/v1alpha1#MemoryStats) field of the [PodStats.Memory](https://pkg.go.dev/k8s.io/kubelet@v0.34.0/pkg/apis/stats/v1alpha1#PodStats) of the Kubelet's stats API.
|
|
1837
|
+
*
|
|
1838
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
1839
|
+
*/
|
|
1840
|
+
export const METRIC_K8S_POD_MEMORY_WORKING_SET = 'k8s.pod.memory.working_set';
|
|
1510
1841
|
/**
|
|
1511
1842
|
* Pod network errors.
|
|
1512
1843
|
*
|
|
@@ -1520,10 +1851,28 @@ export const METRIC_K8S_POD_NETWORK_ERRORS = 'k8s.pod.network.errors';
|
|
|
1520
1851
|
*/
|
|
1521
1852
|
export const METRIC_K8S_POD_NETWORK_IO = 'k8s.pod.network.io';
|
|
1522
1853
|
/**
|
|
1523
|
-
*
|
|
1854
|
+
* Describes number of K8s Pods that are currently in a given phase.
|
|
1524
1855
|
*
|
|
1525
|
-
* @note
|
|
1526
|
-
*
|
|
1856
|
+
* @note All possible pod phases will be reported at each time interval to avoid missing metrics.
|
|
1857
|
+
* Only the value corresponding to the current phase will be non-zero.
|
|
1858
|
+
*
|
|
1859
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
1860
|
+
*/
|
|
1861
|
+
export const METRIC_K8S_POD_STATUS_PHASE = 'k8s.pod.status.phase';
|
|
1862
|
+
/**
|
|
1863
|
+
* Describes the number of K8s Pods that are currently in a state for a given reason.
|
|
1864
|
+
*
|
|
1865
|
+
* @note All possible pod status reasons will be reported at each time interval to avoid missing metrics.
|
|
1866
|
+
* Only the value corresponding to the current reason will be non-zero.
|
|
1867
|
+
*
|
|
1868
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
1869
|
+
*/
|
|
1870
|
+
export const METRIC_K8S_POD_STATUS_REASON = 'k8s.pod.status.reason';
|
|
1871
|
+
/**
|
|
1872
|
+
* The time the Pod has been running.
|
|
1873
|
+
*
|
|
1874
|
+
* @note Instrumentations **SHOULD** use a gauge with type `double` and measure uptime in seconds as a floating point number with the highest precision available.
|
|
1875
|
+
* The actual accuracy would depend on the instrumentation and operating system.
|
|
1527
1876
|
*
|
|
1528
1877
|
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
1529
1878
|
*/
|
|
@@ -1599,39 +1948,77 @@ export const METRIC_K8S_POD_VOLUME_INODE_USED = 'k8s.pod.volume.inode.used';
|
|
|
1599
1948
|
*/
|
|
1600
1949
|
export const METRIC_K8S_POD_VOLUME_USAGE = 'k8s.pod.volume.usage';
|
|
1601
1950
|
/**
|
|
1602
|
-
*
|
|
1951
|
+
* Deprecated, use `k8s.replicaset.pod.available` instead.
|
|
1603
1952
|
*
|
|
1604
1953
|
* @note This metric aligns with the `availableReplicas` field of the
|
|
1605
1954
|
* [K8s ReplicaSetStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#replicasetstatus-v1-apps).
|
|
1606
1955
|
*
|
|
1607
1956
|
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
1957
|
+
*
|
|
1958
|
+
* @deprecated Replaced by `k8s.replicaset.pod.available`.
|
|
1608
1959
|
*/
|
|
1609
1960
|
export const METRIC_K8S_REPLICASET_AVAILABLE_PODS = 'k8s.replicaset.available_pods';
|
|
1610
1961
|
/**
|
|
1611
|
-
*
|
|
1962
|
+
* Deprecated, use `k8s.replicaset.pod.desired` instead.
|
|
1612
1963
|
*
|
|
1613
1964
|
* @note This metric aligns with the `replicas` field of the
|
|
1614
1965
|
* [K8s ReplicaSetSpec](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#replicasetspec-v1-apps).
|
|
1615
1966
|
*
|
|
1616
1967
|
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
1968
|
+
*
|
|
1969
|
+
* @deprecated Replaced by `k8s.replicaset.pod.desired`.
|
|
1617
1970
|
*/
|
|
1618
1971
|
export const METRIC_K8S_REPLICASET_DESIRED_PODS = 'k8s.replicaset.desired_pods';
|
|
1619
1972
|
/**
|
|
1620
|
-
*
|
|
1973
|
+
* Total number of available replica pods (ready for at least minReadySeconds) targeted by this replicaset.
|
|
1974
|
+
*
|
|
1975
|
+
* @note This metric aligns with the `availableReplicas` field of the
|
|
1976
|
+
* [K8s ReplicaSetStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#replicasetstatus-v1-apps).
|
|
1977
|
+
*
|
|
1978
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
1979
|
+
*/
|
|
1980
|
+
export const METRIC_K8S_REPLICASET_POD_AVAILABLE = 'k8s.replicaset.pod.available';
|
|
1981
|
+
/**
|
|
1982
|
+
* Number of desired replica pods in this replicaset.
|
|
1983
|
+
*
|
|
1984
|
+
* @note This metric aligns with the `replicas` field of the
|
|
1985
|
+
* [K8s ReplicaSetSpec](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#replicasetspec-v1-apps).
|
|
1986
|
+
*
|
|
1987
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
1988
|
+
*/
|
|
1989
|
+
export const METRIC_K8S_REPLICASET_POD_DESIRED = 'k8s.replicaset.pod.desired';
|
|
1990
|
+
/**
|
|
1991
|
+
* Deprecated, use `k8s.replicationcontroller.pod.available` instead.
|
|
1621
1992
|
*
|
|
1622
1993
|
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
1623
1994
|
*
|
|
1624
|
-
* @deprecated Replaced by `k8s.replicationcontroller.
|
|
1995
|
+
* @deprecated Replaced by `k8s.replicationcontroller.pod.available`.
|
|
1625
1996
|
*/
|
|
1626
1997
|
export const METRIC_K8S_REPLICATION_CONTROLLER_AVAILABLE_PODS = 'k8s.replication_controller.available_pods';
|
|
1627
1998
|
/**
|
|
1628
|
-
* Deprecated, use `k8s.replicationcontroller.
|
|
1999
|
+
* Deprecated, use `k8s.replicationcontroller.pod.desired` instead.
|
|
1629
2000
|
*
|
|
1630
2001
|
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
1631
2002
|
*
|
|
1632
|
-
* @deprecated Replaced by `k8s.replicationcontroller.
|
|
2003
|
+
* @deprecated Replaced by `k8s.replicationcontroller.pod.desired`.
|
|
1633
2004
|
*/
|
|
1634
2005
|
export const METRIC_K8S_REPLICATION_CONTROLLER_DESIRED_PODS = 'k8s.replication_controller.desired_pods';
|
|
2006
|
+
/**
|
|
2007
|
+
* Deprecated, use `k8s.replicationcontroller.pod.available` instead.
|
|
2008
|
+
*
|
|
2009
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
2010
|
+
*
|
|
2011
|
+
* @deprecated Replaced by `k8s.replicationcontroller.pod.available`.
|
|
2012
|
+
*/
|
|
2013
|
+
export const METRIC_K8S_REPLICATIONCONTROLLER_AVAILABLE_PODS = 'k8s.replicationcontroller.available_pods';
|
|
2014
|
+
/**
|
|
2015
|
+
* Deprecated, use `k8s.replicationcontroller.pod.desired` instead.
|
|
2016
|
+
*
|
|
2017
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
2018
|
+
*
|
|
2019
|
+
* @deprecated Replaced by `k8s.replicationcontroller.pod.desired`.
|
|
2020
|
+
*/
|
|
2021
|
+
export const METRIC_K8S_REPLICATIONCONTROLLER_DESIRED_PODS = 'k8s.replicationcontroller.desired_pods';
|
|
1635
2022
|
/**
|
|
1636
2023
|
* Total number of available replica pods (ready for at least minReadySeconds) targeted by this replication controller.
|
|
1637
2024
|
*
|
|
@@ -1640,7 +2027,7 @@ export const METRIC_K8S_REPLICATION_CONTROLLER_DESIRED_PODS = 'k8s.replication_c
|
|
|
1640
2027
|
*
|
|
1641
2028
|
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
1642
2029
|
*/
|
|
1643
|
-
export const
|
|
2030
|
+
export const METRIC_K8S_REPLICATIONCONTROLLER_POD_AVAILABLE = 'k8s.replicationcontroller.pod.available';
|
|
1644
2031
|
/**
|
|
1645
2032
|
* Number of desired replica pods in this replication controller.
|
|
1646
2033
|
*
|
|
@@ -1649,7 +2036,7 @@ export const METRIC_K8S_REPLICATIONCONTROLLER_AVAILABLE_PODS = 'k8s.replicationc
|
|
|
1649
2036
|
*
|
|
1650
2037
|
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
1651
2038
|
*/
|
|
1652
|
-
export const
|
|
2039
|
+
export const METRIC_K8S_REPLICATIONCONTROLLER_POD_DESIRED = 'k8s.replicationcontroller.pod.desired';
|
|
1653
2040
|
/**
|
|
1654
2041
|
* The CPU limits in a specific namespace.
|
|
1655
2042
|
* The value represents the configured quota limit of the resource in the namespace.
|
|
@@ -1863,23 +2250,45 @@ export const METRIC_K8S_RESOURCEQUOTA_STORAGE_REQUEST_HARD = 'k8s.resourcequota.
|
|
|
1863
2250
|
*/
|
|
1864
2251
|
export const METRIC_K8S_RESOURCEQUOTA_STORAGE_REQUEST_USED = 'k8s.resourcequota.storage.request.used';
|
|
1865
2252
|
/**
|
|
1866
|
-
*
|
|
2253
|
+
* Deprecated, use `k8s.statefulset.pod.current` instead.
|
|
1867
2254
|
*
|
|
1868
2255
|
* @note This metric aligns with the `currentReplicas` field of the
|
|
1869
2256
|
* [K8s StatefulSetStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#statefulsetstatus-v1-apps).
|
|
1870
2257
|
*
|
|
1871
2258
|
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
2259
|
+
*
|
|
2260
|
+
* @deprecated Replaced by `k8s.statefulset.pod.current`.
|
|
1872
2261
|
*/
|
|
1873
2262
|
export const METRIC_K8S_STATEFULSET_CURRENT_PODS = 'k8s.statefulset.current_pods';
|
|
1874
2263
|
/**
|
|
1875
|
-
*
|
|
2264
|
+
* Deprecated, use `k8s.statefulset.pod.desired` instead.
|
|
1876
2265
|
*
|
|
1877
2266
|
* @note This metric aligns with the `replicas` field of the
|
|
1878
2267
|
* [K8s StatefulSetSpec](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#statefulsetspec-v1-apps).
|
|
1879
2268
|
*
|
|
1880
2269
|
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
2270
|
+
*
|
|
2271
|
+
* @deprecated Replaced by `k8s.statefulset.pod.desired`.
|
|
1881
2272
|
*/
|
|
1882
2273
|
export const METRIC_K8S_STATEFULSET_DESIRED_PODS = 'k8s.statefulset.desired_pods';
|
|
2274
|
+
/**
|
|
2275
|
+
* The number of replica pods created by the statefulset controller from the statefulset version indicated by currentRevision.
|
|
2276
|
+
*
|
|
2277
|
+
* @note This metric aligns with the `currentReplicas` field of the
|
|
2278
|
+
* [K8s StatefulSetStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#statefulsetstatus-v1-apps).
|
|
2279
|
+
*
|
|
2280
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
2281
|
+
*/
|
|
2282
|
+
export const METRIC_K8S_STATEFULSET_POD_CURRENT = 'k8s.statefulset.pod.current';
|
|
2283
|
+
/**
|
|
2284
|
+
* Number of desired replica pods in this statefulset.
|
|
2285
|
+
*
|
|
2286
|
+
* @note This metric aligns with the `replicas` field of the
|
|
2287
|
+
* [K8s StatefulSetSpec](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#statefulsetspec-v1-apps).
|
|
2288
|
+
*
|
|
2289
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
2290
|
+
*/
|
|
2291
|
+
export const METRIC_K8S_STATEFULSET_POD_DESIRED = 'k8s.statefulset.pod.desired';
|
|
1883
2292
|
/**
|
|
1884
2293
|
* The number of replica pods created for this statefulset with a Ready Condition.
|
|
1885
2294
|
*
|
|
@@ -1888,7 +2297,7 @@ export const METRIC_K8S_STATEFULSET_DESIRED_PODS = 'k8s.statefulset.desired_pods
|
|
|
1888
2297
|
*
|
|
1889
2298
|
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
1890
2299
|
*/
|
|
1891
|
-
export const
|
|
2300
|
+
export const METRIC_K8S_STATEFULSET_POD_READY = 'k8s.statefulset.pod.ready';
|
|
1892
2301
|
/**
|
|
1893
2302
|
* Number of replica pods created by the statefulset controller from the statefulset version indicated by updateRevision.
|
|
1894
2303
|
*
|
|
@@ -1897,6 +2306,28 @@ export const METRIC_K8S_STATEFULSET_READY_PODS = 'k8s.statefulset.ready_pods';
|
|
|
1897
2306
|
*
|
|
1898
2307
|
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
1899
2308
|
*/
|
|
2309
|
+
export const METRIC_K8S_STATEFULSET_POD_UPDATED = 'k8s.statefulset.pod.updated';
|
|
2310
|
+
/**
|
|
2311
|
+
* Deprecated, use `k8s.statefulset.pod.ready` instead.
|
|
2312
|
+
*
|
|
2313
|
+
* @note This metric aligns with the `readyReplicas` field of the
|
|
2314
|
+
* [K8s StatefulSetStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#statefulsetstatus-v1-apps).
|
|
2315
|
+
*
|
|
2316
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
2317
|
+
*
|
|
2318
|
+
* @deprecated Replaced by `k8s.statefulset.pod.ready`.
|
|
2319
|
+
*/
|
|
2320
|
+
export const METRIC_K8S_STATEFULSET_READY_PODS = 'k8s.statefulset.ready_pods';
|
|
2321
|
+
/**
|
|
2322
|
+
* Deprecated, use `k8s.statefulset.pod.updated` instead.
|
|
2323
|
+
*
|
|
2324
|
+
* @note This metric aligns with the `updatedReplicas` field of the
|
|
2325
|
+
* [K8s StatefulSetStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#statefulsetstatus-v1-apps).
|
|
2326
|
+
*
|
|
2327
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
2328
|
+
*
|
|
2329
|
+
* @deprecated Replaced by `k8s.statefulset.pod.updated`.
|
|
2330
|
+
*/
|
|
1900
2331
|
export const METRIC_K8S_STATEFULSET_UPDATED_PODS = 'k8s.statefulset.updated_pods';
|
|
1901
2332
|
/**
|
|
1902
2333
|
* Number of messages that were delivered to the application.
|
|
@@ -1979,6 +2410,125 @@ export const METRIC_MESSAGING_RECEIVE_DURATION = 'messaging.receive.duration';
|
|
|
1979
2410
|
* @deprecated Replaced by `messaging.client.consumed.messages`.
|
|
1980
2411
|
*/
|
|
1981
2412
|
export const METRIC_MESSAGING_RECEIVE_MESSAGES = 'messaging.receive.messages';
|
|
2413
|
+
/**
|
|
2414
|
+
* Reports the count of kernel NFS client TCP segments and UDP datagrams handled.
|
|
2415
|
+
*
|
|
2416
|
+
* @note Linux: this metric is taken from the Linux kernel's svc_stat.netudpcnt and svc_stat.nettcpcnt
|
|
2417
|
+
*
|
|
2418
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
2419
|
+
*/
|
|
2420
|
+
export const METRIC_NFS_CLIENT_NET_COUNT = 'nfs.client.net.count';
|
|
2421
|
+
/**
|
|
2422
|
+
* Reports the count of kernel NFS client TCP connections accepted.
|
|
2423
|
+
*
|
|
2424
|
+
* @note Linux: this metric is taken from the Linux kernel's svc_stat.nettcpconn
|
|
2425
|
+
*
|
|
2426
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
2427
|
+
*/
|
|
2428
|
+
export const METRIC_NFS_CLIENT_NET_TCP_CONNECTION_ACCEPTED = 'nfs.client.net.tcp.connection.accepted';
|
|
2429
|
+
/**
|
|
2430
|
+
* Reports the count of kernel NFSv4+ client operations.
|
|
2431
|
+
*
|
|
2432
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
2433
|
+
*/
|
|
2434
|
+
export const METRIC_NFS_CLIENT_OPERATION_COUNT = 'nfs.client.operation.count';
|
|
2435
|
+
/**
|
|
2436
|
+
* Reports the count of kernel NFS client procedures.
|
|
2437
|
+
*
|
|
2438
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
2439
|
+
*/
|
|
2440
|
+
export const METRIC_NFS_CLIENT_PROCEDURE_COUNT = 'nfs.client.procedure.count';
|
|
2441
|
+
/**
|
|
2442
|
+
* Reports the count of kernel NFS client RPC authentication refreshes.
|
|
2443
|
+
*
|
|
2444
|
+
* @note Linux: this metric is taken from the Linux kernel's svc_stat.rpcauthrefresh
|
|
2445
|
+
*
|
|
2446
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
2447
|
+
*/
|
|
2448
|
+
export const METRIC_NFS_CLIENT_RPC_AUTHREFRESH_COUNT = 'nfs.client.rpc.authrefresh.count';
|
|
2449
|
+
/**
|
|
2450
|
+
* Reports the count of kernel NFS client RPCs sent, regardless of whether they're accepted/rejected by the server.
|
|
2451
|
+
*
|
|
2452
|
+
* @note Linux: this metric is taken from the Linux kernel's svc_stat.rpccnt
|
|
2453
|
+
*
|
|
2454
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
2455
|
+
*/
|
|
2456
|
+
export const METRIC_NFS_CLIENT_RPC_COUNT = 'nfs.client.rpc.count';
|
|
2457
|
+
/**
|
|
2458
|
+
* Reports the count of kernel NFS client RPC retransmits.
|
|
2459
|
+
*
|
|
2460
|
+
* @note Linux: this metric is taken from the Linux kernel's svc_stat.rpcretrans
|
|
2461
|
+
*
|
|
2462
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
2463
|
+
*/
|
|
2464
|
+
export const METRIC_NFS_CLIENT_RPC_RETRANSMIT_COUNT = 'nfs.client.rpc.retransmit.count';
|
|
2465
|
+
/**
|
|
2466
|
+
* Reports the count of kernel NFS server stale file handles.
|
|
2467
|
+
*
|
|
2468
|
+
* @note Linux: this metric is taken from the Linux kernel NFSD_STATS_FH_STALE counter in the nfsd_net struct
|
|
2469
|
+
*
|
|
2470
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
2471
|
+
*/
|
|
2472
|
+
export const METRIC_NFS_SERVER_FH_STALE_COUNT = 'nfs.server.fh.stale.count';
|
|
2473
|
+
/**
|
|
2474
|
+
* Reports the count of kernel NFS server bytes returned to receive and transmit (read and write) requests.
|
|
2475
|
+
*
|
|
2476
|
+
* @note Linux: this metric is taken from the Linux kernel NFSD_STATS_IO_READ and NFSD_STATS_IO_WRITE counters in the nfsd_net struct
|
|
2477
|
+
*
|
|
2478
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
2479
|
+
*/
|
|
2480
|
+
export const METRIC_NFS_SERVER_IO = 'nfs.server.io';
|
|
2481
|
+
/**
|
|
2482
|
+
* Reports the count of kernel NFS server TCP segments and UDP datagrams handled.
|
|
2483
|
+
*
|
|
2484
|
+
* @note Linux: this metric is taken from the Linux kernel's svc_stat.nettcpcnt and svc_stat.netudpcnt
|
|
2485
|
+
*
|
|
2486
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
2487
|
+
*/
|
|
2488
|
+
export const METRIC_NFS_SERVER_NET_COUNT = 'nfs.server.net.count';
|
|
2489
|
+
/**
|
|
2490
|
+
* Reports the count of kernel NFS server TCP connections accepted.
|
|
2491
|
+
*
|
|
2492
|
+
* @note Linux: this metric is taken from the Linux kernel's svc_stat.nettcpconn
|
|
2493
|
+
*
|
|
2494
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
2495
|
+
*/
|
|
2496
|
+
export const METRIC_NFS_SERVER_NET_TCP_CONNECTION_ACCEPTED = 'nfs.server.net.tcp.connection.accepted';
|
|
2497
|
+
/**
|
|
2498
|
+
* Reports the count of kernel NFSv4+ server operations.
|
|
2499
|
+
*
|
|
2500
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
2501
|
+
*/
|
|
2502
|
+
export const METRIC_NFS_SERVER_OPERATION_COUNT = 'nfs.server.operation.count';
|
|
2503
|
+
/**
|
|
2504
|
+
* Reports the count of kernel NFS server procedures.
|
|
2505
|
+
*
|
|
2506
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
2507
|
+
*/
|
|
2508
|
+
export const METRIC_NFS_SERVER_PROCEDURE_COUNT = 'nfs.server.procedure.count';
|
|
2509
|
+
/**
|
|
2510
|
+
* Reports the kernel NFS server reply cache request count by cache hit status.
|
|
2511
|
+
*
|
|
2512
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
2513
|
+
*/
|
|
2514
|
+
export const METRIC_NFS_SERVER_REPCACHE_REQUESTS = 'nfs.server.repcache.requests';
|
|
2515
|
+
/**
|
|
2516
|
+
* Reports the count of kernel NFS server RPCs handled.
|
|
2517
|
+
*
|
|
2518
|
+
* @note Linux: this metric is taken from the Linux kernel's svc_stat.rpccnt, the count of good RPCs. This metric can have
|
|
2519
|
+
* an error.type of "format", "auth", or "client" for svc_stat.badfmt, svc_stat.badauth, and svc_stat.badclnt.
|
|
2520
|
+
*
|
|
2521
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
2522
|
+
*/
|
|
2523
|
+
export const METRIC_NFS_SERVER_RPC_COUNT = 'nfs.server.rpc.count';
|
|
2524
|
+
/**
|
|
2525
|
+
* Reports the count of kernel NFS server available threads.
|
|
2526
|
+
*
|
|
2527
|
+
* @note Linux: this metric is taken from the Linux kernel nfsd_th_cnt variable
|
|
2528
|
+
*
|
|
2529
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
2530
|
+
*/
|
|
2531
|
+
export const METRIC_NFS_SERVER_THREAD_COUNT = 'nfs.server.thread.count';
|
|
1982
2532
|
/**
|
|
1983
2533
|
* Event loop maximum delay.
|
|
1984
2534
|
*
|
|
@@ -2051,6 +2601,238 @@ export const METRIC_NODEJS_EVENTLOOP_TIME = 'nodejs.eventloop.time';
|
|
|
2051
2601
|
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
2052
2602
|
*/
|
|
2053
2603
|
export const METRIC_NODEJS_EVENTLOOP_UTILIZATION = 'nodejs.eventloop.utilization';
|
|
2604
|
+
/**
|
|
2605
|
+
* The enforced hard limit of the resource across all projects.
|
|
2606
|
+
*
|
|
2607
|
+
* @note This metric is retrieved from the `Status.Total.Hard` field of the
|
|
2608
|
+
* [K8s ResourceQuotaStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.32/#resourcequotastatus-v1-core)
|
|
2609
|
+
* of the
|
|
2610
|
+
* [ClusterResourceQuota](https://docs.redhat.com/en/documentation/openshift_container_platform/4.19/html/schedule_and_quota_apis/clusterresourcequota-quota-openshift-io-v1#status-total).
|
|
2611
|
+
*
|
|
2612
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
2613
|
+
*/
|
|
2614
|
+
export const METRIC_OPENSHIFT_CLUSTERQUOTA_CPU_LIMIT_HARD = 'openshift.clusterquota.cpu.limit.hard';
|
|
2615
|
+
/**
|
|
2616
|
+
* The current observed total usage of the resource across all projects.
|
|
2617
|
+
*
|
|
2618
|
+
* @note This metric is retrieved from the `Status.Total.Used` field of the
|
|
2619
|
+
* [K8s ResourceQuotaStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.32/#resourcequotastatus-v1-core)
|
|
2620
|
+
* of the
|
|
2621
|
+
* [ClusterResourceQuota](https://docs.redhat.com/en/documentation/openshift_container_platform/4.19/html/schedule_and_quota_apis/clusterresourcequota-quota-openshift-io-v1#status-total).
|
|
2622
|
+
*
|
|
2623
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
2624
|
+
*/
|
|
2625
|
+
export const METRIC_OPENSHIFT_CLUSTERQUOTA_CPU_LIMIT_USED = 'openshift.clusterquota.cpu.limit.used';
|
|
2626
|
+
/**
|
|
2627
|
+
* The enforced hard limit of the resource across all projects.
|
|
2628
|
+
*
|
|
2629
|
+
* @note This metric is retrieved from the `Status.Total.Hard` field of the
|
|
2630
|
+
* [K8s ResourceQuotaStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.32/#resourcequotastatus-v1-core)
|
|
2631
|
+
* of the
|
|
2632
|
+
* [ClusterResourceQuota](https://docs.redhat.com/en/documentation/openshift_container_platform/4.19/html/schedule_and_quota_apis/clusterresourcequota-quota-openshift-io-v1#status-total).
|
|
2633
|
+
*
|
|
2634
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
2635
|
+
*/
|
|
2636
|
+
export const METRIC_OPENSHIFT_CLUSTERQUOTA_CPU_REQUEST_HARD = 'openshift.clusterquota.cpu.request.hard';
|
|
2637
|
+
/**
|
|
2638
|
+
* The current observed total usage of the resource across all projects.
|
|
2639
|
+
*
|
|
2640
|
+
* @note This metric is retrieved from the `Status.Total.Used` field of the
|
|
2641
|
+
* [K8s ResourceQuotaStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.32/#resourcequotastatus-v1-core)
|
|
2642
|
+
* of the
|
|
2643
|
+
* [ClusterResourceQuota](https://docs.redhat.com/en/documentation/openshift_container_platform/4.19/html/schedule_and_quota_apis/clusterresourcequota-quota-openshift-io-v1#status-total).
|
|
2644
|
+
*
|
|
2645
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
2646
|
+
*/
|
|
2647
|
+
export const METRIC_OPENSHIFT_CLUSTERQUOTA_CPU_REQUEST_USED = 'openshift.clusterquota.cpu.request.used';
|
|
2648
|
+
/**
|
|
2649
|
+
* The enforced hard limit of the resource across all projects.
|
|
2650
|
+
*
|
|
2651
|
+
* @note This metric is retrieved from the `Status.Total.Hard` field of the
|
|
2652
|
+
* [K8s ResourceQuotaStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.32/#resourcequotastatus-v1-core)
|
|
2653
|
+
* of the
|
|
2654
|
+
* [ClusterResourceQuota](https://docs.redhat.com/en/documentation/openshift_container_platform/4.19/html/schedule_and_quota_apis/clusterresourcequota-quota-openshift-io-v1#status-total).
|
|
2655
|
+
*
|
|
2656
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
2657
|
+
*/
|
|
2658
|
+
export const METRIC_OPENSHIFT_CLUSTERQUOTA_EPHEMERAL_STORAGE_LIMIT_HARD = 'openshift.clusterquota.ephemeral_storage.limit.hard';
|
|
2659
|
+
/**
|
|
2660
|
+
* The current observed total usage of the resource across all projects.
|
|
2661
|
+
*
|
|
2662
|
+
* @note This metric is retrieved from the `Status.Total.Used` field of the
|
|
2663
|
+
* [K8s ResourceQuotaStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.32/#resourcequotastatus-v1-core)
|
|
2664
|
+
* of the
|
|
2665
|
+
* [ClusterResourceQuota](https://docs.redhat.com/en/documentation/openshift_container_platform/4.19/html/schedule_and_quota_apis/clusterresourcequota-quota-openshift-io-v1#status-total).
|
|
2666
|
+
*
|
|
2667
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
2668
|
+
*/
|
|
2669
|
+
export const METRIC_OPENSHIFT_CLUSTERQUOTA_EPHEMERAL_STORAGE_LIMIT_USED = 'openshift.clusterquota.ephemeral_storage.limit.used';
|
|
2670
|
+
/**
|
|
2671
|
+
* The enforced hard limit of the resource across all projects.
|
|
2672
|
+
*
|
|
2673
|
+
* @note This metric is retrieved from the `Status.Total.Hard` field of the
|
|
2674
|
+
* [K8s ResourceQuotaStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.32/#resourcequotastatus-v1-core)
|
|
2675
|
+
* of the
|
|
2676
|
+
* [ClusterResourceQuota](https://docs.redhat.com/en/documentation/openshift_container_platform/4.19/html/schedule_and_quota_apis/clusterresourcequota-quota-openshift-io-v1#status-total).
|
|
2677
|
+
*
|
|
2678
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
2679
|
+
*/
|
|
2680
|
+
export const METRIC_OPENSHIFT_CLUSTERQUOTA_EPHEMERAL_STORAGE_REQUEST_HARD = 'openshift.clusterquota.ephemeral_storage.request.hard';
|
|
2681
|
+
/**
|
|
2682
|
+
* The current observed total usage of the resource across all projects.
|
|
2683
|
+
*
|
|
2684
|
+
* @note This metric is retrieved from the `Status.Total.Used` field of the
|
|
2685
|
+
* [K8s ResourceQuotaStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.32/#resourcequotastatus-v1-core)
|
|
2686
|
+
* of the
|
|
2687
|
+
* [ClusterResourceQuota](https://docs.redhat.com/en/documentation/openshift_container_platform/4.19/html/schedule_and_quota_apis/clusterresourcequota-quota-openshift-io-v1#status-total).
|
|
2688
|
+
*
|
|
2689
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
2690
|
+
*/
|
|
2691
|
+
export const METRIC_OPENSHIFT_CLUSTERQUOTA_EPHEMERAL_STORAGE_REQUEST_USED = 'openshift.clusterquota.ephemeral_storage.request.used';
|
|
2692
|
+
/**
|
|
2693
|
+
* The enforced hard limit of the resource across all projects.
|
|
2694
|
+
*
|
|
2695
|
+
* @note This metric is retrieved from the `Status.Total.Hard` field of the
|
|
2696
|
+
* [K8s ResourceQuotaStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.32/#resourcequotastatus-v1-core)
|
|
2697
|
+
* of the
|
|
2698
|
+
* [ClusterResourceQuota](https://docs.redhat.com/en/documentation/openshift_container_platform/4.19/html/schedule_and_quota_apis/clusterresourcequota-quota-openshift-io-v1#status-total).
|
|
2699
|
+
*
|
|
2700
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
2701
|
+
*/
|
|
2702
|
+
export const METRIC_OPENSHIFT_CLUSTERQUOTA_HUGEPAGE_COUNT_REQUEST_HARD = 'openshift.clusterquota.hugepage_count.request.hard';
|
|
2703
|
+
/**
|
|
2704
|
+
* The current observed total usage of the resource across all projects.
|
|
2705
|
+
*
|
|
2706
|
+
* @note This metric is retrieved from the `Status.Total.Used` field of the
|
|
2707
|
+
* [K8s ResourceQuotaStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.32/#resourcequotastatus-v1-core)
|
|
2708
|
+
* of the
|
|
2709
|
+
* [ClusterResourceQuota](https://docs.redhat.com/en/documentation/openshift_container_platform/4.19/html/schedule_and_quota_apis/clusterresourcequota-quota-openshift-io-v1#status-total).
|
|
2710
|
+
*
|
|
2711
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
2712
|
+
*/
|
|
2713
|
+
export const METRIC_OPENSHIFT_CLUSTERQUOTA_HUGEPAGE_COUNT_REQUEST_USED = 'openshift.clusterquota.hugepage_count.request.used';
|
|
2714
|
+
/**
|
|
2715
|
+
* The enforced hard limit of the resource across all projects.
|
|
2716
|
+
*
|
|
2717
|
+
* @note This metric is retrieved from the `Status.Total.Hard` field of the
|
|
2718
|
+
* [K8s ResourceQuotaStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.32/#resourcequotastatus-v1-core)
|
|
2719
|
+
* of the
|
|
2720
|
+
* [ClusterResourceQuota](https://docs.redhat.com/en/documentation/openshift_container_platform/4.19/html/schedule_and_quota_apis/clusterresourcequota-quota-openshift-io-v1#status-total).
|
|
2721
|
+
*
|
|
2722
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
2723
|
+
*/
|
|
2724
|
+
export const METRIC_OPENSHIFT_CLUSTERQUOTA_MEMORY_LIMIT_HARD = 'openshift.clusterquota.memory.limit.hard';
|
|
2725
|
+
/**
|
|
2726
|
+
* The current observed total usage of the resource across all projects.
|
|
2727
|
+
*
|
|
2728
|
+
* @note This metric is retrieved from the `Status.Total.Used` field of the
|
|
2729
|
+
* [K8s ResourceQuotaStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.32/#resourcequotastatus-v1-core)
|
|
2730
|
+
* of the
|
|
2731
|
+
* [ClusterResourceQuota](https://docs.redhat.com/en/documentation/openshift_container_platform/4.19/html/schedule_and_quota_apis/clusterresourcequota-quota-openshift-io-v1#status-total).
|
|
2732
|
+
*
|
|
2733
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
2734
|
+
*/
|
|
2735
|
+
export const METRIC_OPENSHIFT_CLUSTERQUOTA_MEMORY_LIMIT_USED = 'openshift.clusterquota.memory.limit.used';
|
|
2736
|
+
/**
|
|
2737
|
+
* The enforced hard limit of the resource across all projects.
|
|
2738
|
+
*
|
|
2739
|
+
* @note This metric is retrieved from the `Status.Total.Hard` field of the
|
|
2740
|
+
* [K8s ResourceQuotaStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.32/#resourcequotastatus-v1-core)
|
|
2741
|
+
* of the
|
|
2742
|
+
* [ClusterResourceQuota](https://docs.redhat.com/en/documentation/openshift_container_platform/4.19/html/schedule_and_quota_apis/clusterresourcequota-quota-openshift-io-v1#status-total).
|
|
2743
|
+
*
|
|
2744
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
2745
|
+
*/
|
|
2746
|
+
export const METRIC_OPENSHIFT_CLUSTERQUOTA_MEMORY_REQUEST_HARD = 'openshift.clusterquota.memory.request.hard';
|
|
2747
|
+
/**
|
|
2748
|
+
* The current observed total usage of the resource across all projects.
|
|
2749
|
+
*
|
|
2750
|
+
* @note This metric is retrieved from the `Status.Total.Used` field of the
|
|
2751
|
+
* [K8s ResourceQuotaStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.32/#resourcequotastatus-v1-core)
|
|
2752
|
+
* of the
|
|
2753
|
+
* [ClusterResourceQuota](https://docs.redhat.com/en/documentation/openshift_container_platform/4.19/html/schedule_and_quota_apis/clusterresourcequota-quota-openshift-io-v1#status-total).
|
|
2754
|
+
*
|
|
2755
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
2756
|
+
*/
|
|
2757
|
+
export const METRIC_OPENSHIFT_CLUSTERQUOTA_MEMORY_REQUEST_USED = 'openshift.clusterquota.memory.request.used';
|
|
2758
|
+
/**
|
|
2759
|
+
* The enforced hard limit of the resource across all projects.
|
|
2760
|
+
*
|
|
2761
|
+
* @note This metric is retrieved from the `Status.Total.Hard` field of the
|
|
2762
|
+
* [K8s ResourceQuotaStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.32/#resourcequotastatus-v1-core)
|
|
2763
|
+
* of the
|
|
2764
|
+
* [ClusterResourceQuota](https://docs.redhat.com/en/documentation/openshift_container_platform/4.19/html/schedule_and_quota_apis/clusterresourcequota-quota-openshift-io-v1#status-total).
|
|
2765
|
+
*
|
|
2766
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
2767
|
+
*/
|
|
2768
|
+
export const METRIC_OPENSHIFT_CLUSTERQUOTA_OBJECT_COUNT_HARD = 'openshift.clusterquota.object_count.hard';
|
|
2769
|
+
/**
|
|
2770
|
+
* The current observed total usage of the resource across all projects.
|
|
2771
|
+
*
|
|
2772
|
+
* @note This metric is retrieved from the `Status.Total.Used` field of the
|
|
2773
|
+
* [K8s ResourceQuotaStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.32/#resourcequotastatus-v1-core)
|
|
2774
|
+
* of the
|
|
2775
|
+
* [ClusterResourceQuota](https://docs.redhat.com/en/documentation/openshift_container_platform/4.19/html/schedule_and_quota_apis/clusterresourcequota-quota-openshift-io-v1#status-total).
|
|
2776
|
+
*
|
|
2777
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
2778
|
+
*/
|
|
2779
|
+
export const METRIC_OPENSHIFT_CLUSTERQUOTA_OBJECT_COUNT_USED = 'openshift.clusterquota.object_count.used';
|
|
2780
|
+
/**
|
|
2781
|
+
* The enforced hard limit of the resource across all projects.
|
|
2782
|
+
*
|
|
2783
|
+
* @note This metric is retrieved from the `Status.Total.Hard` field of the
|
|
2784
|
+
* [K8s ResourceQuotaStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.32/#resourcequotastatus-v1-core)
|
|
2785
|
+
* of the
|
|
2786
|
+
* [ClusterResourceQuota](https://docs.redhat.com/en/documentation/openshift_container_platform/4.19/html/schedule_and_quota_apis/clusterresourcequota-quota-openshift-io-v1#status-total).
|
|
2787
|
+
*
|
|
2788
|
+
* The `k8s.storageclass.name` should be required when a resource quota is defined for a specific
|
|
2789
|
+
* storage class.
|
|
2790
|
+
*
|
|
2791
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
2792
|
+
*/
|
|
2793
|
+
export const METRIC_OPENSHIFT_CLUSTERQUOTA_PERSISTENTVOLUMECLAIM_COUNT_HARD = 'openshift.clusterquota.persistentvolumeclaim_count.hard';
|
|
2794
|
+
/**
|
|
2795
|
+
* The current observed total usage of the resource across all projects.
|
|
2796
|
+
*
|
|
2797
|
+
* @note This metric is retrieved from the `Status.Total.Used` field of the
|
|
2798
|
+
* [K8s ResourceQuotaStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.32/#resourcequotastatus-v1-core)
|
|
2799
|
+
* of the
|
|
2800
|
+
* [ClusterResourceQuota](https://docs.redhat.com/en/documentation/openshift_container_platform/4.19/html/schedule_and_quota_apis/clusterresourcequota-quota-openshift-io-v1#status-total).
|
|
2801
|
+
*
|
|
2802
|
+
* The `k8s.storageclass.name` should be required when a resource quota is defined for a specific
|
|
2803
|
+
* storage class.
|
|
2804
|
+
*
|
|
2805
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
2806
|
+
*/
|
|
2807
|
+
export const METRIC_OPENSHIFT_CLUSTERQUOTA_PERSISTENTVOLUMECLAIM_COUNT_USED = 'openshift.clusterquota.persistentvolumeclaim_count.used';
|
|
2808
|
+
/**
|
|
2809
|
+
* The enforced hard limit of the resource across all projects.
|
|
2810
|
+
*
|
|
2811
|
+
* @note This metric is retrieved from the `Status.Total.Hard` field of the
|
|
2812
|
+
* [K8s ResourceQuotaStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.32/#resourcequotastatus-v1-core)
|
|
2813
|
+
* of the
|
|
2814
|
+
* [ClusterResourceQuota](https://docs.redhat.com/en/documentation/openshift_container_platform/4.19/html/schedule_and_quota_apis/clusterresourcequota-quota-openshift-io-v1#status-total).
|
|
2815
|
+
*
|
|
2816
|
+
* The `k8s.storageclass.name` should be required when a resource quota is defined for a specific
|
|
2817
|
+
* storage class.
|
|
2818
|
+
*
|
|
2819
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
2820
|
+
*/
|
|
2821
|
+
export const METRIC_OPENSHIFT_CLUSTERQUOTA_STORAGE_REQUEST_HARD = 'openshift.clusterquota.storage.request.hard';
|
|
2822
|
+
/**
|
|
2823
|
+
* The current observed total usage of the resource across all projects.
|
|
2824
|
+
*
|
|
2825
|
+
* @note This metric is retrieved from the `Status.Total.Used` field of the
|
|
2826
|
+
* [K8s ResourceQuotaStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.32/#resourcequotastatus-v1-core)
|
|
2827
|
+
* of the
|
|
2828
|
+
* [ClusterResourceQuota](https://docs.redhat.com/en/documentation/openshift_container_platform/4.19/html/schedule_and_quota_apis/clusterresourcequota-quota-openshift-io-v1#status-total).
|
|
2829
|
+
*
|
|
2830
|
+
* The `k8s.storageclass.name` should be required when a resource quota is defined for a specific
|
|
2831
|
+
* storage class.
|
|
2832
|
+
*
|
|
2833
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
2834
|
+
*/
|
|
2835
|
+
export const METRIC_OPENSHIFT_CLUSTERQUOTA_STORAGE_REQUEST_USED = 'openshift.clusterquota.storage.request.used';
|
|
2054
2836
|
/**
|
|
2055
2837
|
* The number of log records for which the export has finished, either successful or failed.
|
|
2056
2838
|
*
|
|
@@ -2339,6 +3121,8 @@ export const METRIC_RPC_CLIENT_REQUEST_SIZE = 'rpc.client.request.size';
|
|
|
2339
3121
|
* **Streaming**: This metric is required for server and client streaming RPCs
|
|
2340
3122
|
*
|
|
2341
3123
|
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
3124
|
+
*
|
|
3125
|
+
* @deprecated Removed, no replacement at this time.
|
|
2342
3126
|
*/
|
|
2343
3127
|
export const METRIC_RPC_CLIENT_REQUESTS_PER_RPC = 'rpc.client.requests_per_rpc';
|
|
2344
3128
|
/**
|
|
@@ -2357,6 +3141,8 @@ export const METRIC_RPC_CLIENT_RESPONSE_SIZE = 'rpc.client.response.size';
|
|
|
2357
3141
|
* **Streaming**: This metric is required for server and client streaming RPCs
|
|
2358
3142
|
*
|
|
2359
3143
|
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
3144
|
+
*
|
|
3145
|
+
* @deprecated Removed, no replacement at this time.
|
|
2360
3146
|
*/
|
|
2361
3147
|
export const METRIC_RPC_CLIENT_RESPONSES_PER_RPC = 'rpc.client.responses_per_rpc';
|
|
2362
3148
|
/**
|
|
@@ -2386,6 +3172,8 @@ export const METRIC_RPC_SERVER_REQUEST_SIZE = 'rpc.server.request.size';
|
|
|
2386
3172
|
* **Streaming** : This metric is required for server and client streaming RPCs
|
|
2387
3173
|
*
|
|
2388
3174
|
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
3175
|
+
*
|
|
3176
|
+
* @deprecated Removed, no replacement at this time.
|
|
2389
3177
|
*/
|
|
2390
3178
|
export const METRIC_RPC_SERVER_REQUESTS_PER_RPC = 'rpc.server.requests_per_rpc';
|
|
2391
3179
|
/**
|
|
@@ -2404,6 +3192,8 @@ export const METRIC_RPC_SERVER_RESPONSE_SIZE = 'rpc.server.response.size';
|
|
|
2404
3192
|
* **Streaming**: This metric is required for server and client streaming RPCs
|
|
2405
3193
|
*
|
|
2406
3194
|
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
3195
|
+
*
|
|
3196
|
+
* @deprecated Removed, no replacement at this time.
|
|
2407
3197
|
*/
|
|
2408
3198
|
export const METRIC_RPC_SERVER_RESPONSES_PER_RPC = 'rpc.server.responses_per_rpc';
|
|
2409
3199
|
/**
|
|
@@ -2439,7 +3229,7 @@ export const METRIC_SYSTEM_CPU_TIME = 'system.cpu.time';
|
|
|
2439
3229
|
*/
|
|
2440
3230
|
export const METRIC_SYSTEM_CPU_UTILIZATION = 'system.cpu.utilization';
|
|
2441
3231
|
/**
|
|
2442
|
-
*
|
|
3232
|
+
* Disk bytes transferred.
|
|
2443
3233
|
*
|
|
2444
3234
|
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
2445
3235
|
*/
|
|
@@ -2464,7 +3254,7 @@ export const METRIC_SYSTEM_DISK_IO_TIME = 'system.disk.io_time';
|
|
|
2464
3254
|
*/
|
|
2465
3255
|
export const METRIC_SYSTEM_DISK_LIMIT = 'system.disk.limit';
|
|
2466
3256
|
/**
|
|
2467
|
-
*
|
|
3257
|
+
* The number of disk reads/writes merged into single physical disk access operations.
|
|
2468
3258
|
*
|
|
2469
3259
|
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
2470
3260
|
*/
|
|
@@ -2481,7 +3271,7 @@ export const METRIC_SYSTEM_DISK_MERGED = 'system.disk.merged';
|
|
|
2481
3271
|
*/
|
|
2482
3272
|
export const METRIC_SYSTEM_DISK_OPERATION_TIME = 'system.disk.operation_time';
|
|
2483
3273
|
/**
|
|
2484
|
-
*
|
|
3274
|
+
* Disk operations count.
|
|
2485
3275
|
*
|
|
2486
3276
|
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
2487
3277
|
*/
|
|
@@ -2502,7 +3292,7 @@ export const METRIC_SYSTEM_FILESYSTEM_LIMIT = 'system.filesystem.limit';
|
|
|
2502
3292
|
*/
|
|
2503
3293
|
export const METRIC_SYSTEM_FILESYSTEM_USAGE = 'system.filesystem.usage';
|
|
2504
3294
|
/**
|
|
2505
|
-
*
|
|
3295
|
+
* Fraction of filesystem bytes used.
|
|
2506
3296
|
*
|
|
2507
3297
|
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
2508
3298
|
*/
|
|
@@ -2551,13 +3341,13 @@ export const METRIC_SYSTEM_MEMORY_SHARED = 'system.memory.shared';
|
|
|
2551
3341
|
*/
|
|
2552
3342
|
export const METRIC_SYSTEM_MEMORY_USAGE = 'system.memory.usage';
|
|
2553
3343
|
/**
|
|
2554
|
-
*
|
|
3344
|
+
* Percentage of memory bytes in use.
|
|
2555
3345
|
*
|
|
2556
3346
|
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
2557
3347
|
*/
|
|
2558
3348
|
export const METRIC_SYSTEM_MEMORY_UTILIZATION = 'system.memory.utilization';
|
|
2559
3349
|
/**
|
|
2560
|
-
*
|
|
3350
|
+
* The number of connections.
|
|
2561
3351
|
*
|
|
2562
3352
|
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
2563
3353
|
*/
|
|
@@ -2570,6 +3360,20 @@ export const METRIC_SYSTEM_NETWORK_CONNECTION_COUNT = 'system.network.connection
|
|
|
2570
3360
|
* @deprecated Replaced by `system.network.connection.count`.
|
|
2571
3361
|
*/
|
|
2572
3362
|
export const METRIC_SYSTEM_NETWORK_CONNECTIONS = 'system.network.connections';
|
|
3363
|
+
/**
|
|
3364
|
+
* Count of packets that are dropped or discarded even though there was no error.
|
|
3365
|
+
*
|
|
3366
|
+
* @note Measured as:
|
|
3367
|
+
*
|
|
3368
|
+
* - Linux: the `drop` column in `/proc/dev/net` ([source](https://web.archive.org/web/20180321091318/http://www.onlamp.com/pub/a/linux/2000/11/16/LinuxAdmin.html))
|
|
3369
|
+
* - Windows: [`InDiscards`/`OutDiscards`](https://docs.microsoft.com/windows/win32/api/netioapi/ns-netioapi-mib_if_row2)
|
|
3370
|
+
* from [`GetIfEntry2`](https://docs.microsoft.com/windows/win32/api/netioapi/nf-netioapi-getifentry2)
|
|
3371
|
+
*
|
|
3372
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
3373
|
+
*
|
|
3374
|
+
* @deprecated Replaced by `system.network.packet.dropped`.
|
|
3375
|
+
*/
|
|
3376
|
+
export const METRIC_SYSTEM_NETWORK_DROPPED = 'system.network.dropped';
|
|
2573
3377
|
/**
|
|
2574
3378
|
* Count of network errors detected.
|
|
2575
3379
|
*
|
|
@@ -2583,13 +3387,13 @@ export const METRIC_SYSTEM_NETWORK_CONNECTIONS = 'system.network.connections';
|
|
|
2583
3387
|
*/
|
|
2584
3388
|
export const METRIC_SYSTEM_NETWORK_ERRORS = 'system.network.errors';
|
|
2585
3389
|
/**
|
|
2586
|
-
*
|
|
3390
|
+
* The number of bytes transmitted and received.
|
|
2587
3391
|
*
|
|
2588
3392
|
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
2589
3393
|
*/
|
|
2590
3394
|
export const METRIC_SYSTEM_NETWORK_IO = 'system.network.io';
|
|
2591
3395
|
/**
|
|
2592
|
-
*
|
|
3396
|
+
* The number of packets transferred.
|
|
2593
3397
|
*
|
|
2594
3398
|
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
2595
3399
|
*/
|
|
@@ -2607,13 +3411,21 @@ export const METRIC_SYSTEM_NETWORK_PACKET_COUNT = 'system.network.packet.count';
|
|
|
2607
3411
|
*/
|
|
2608
3412
|
export const METRIC_SYSTEM_NETWORK_PACKET_DROPPED = 'system.network.packet.dropped';
|
|
2609
3413
|
/**
|
|
2610
|
-
*
|
|
3414
|
+
* The number of packets transferred.
|
|
3415
|
+
*
|
|
3416
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
3417
|
+
*
|
|
3418
|
+
* @deprecated Replaced by `system.network.packet.count`.
|
|
3419
|
+
*/
|
|
3420
|
+
export const METRIC_SYSTEM_NETWORK_PACKETS = 'system.network.packets';
|
|
3421
|
+
/**
|
|
3422
|
+
* The number of page faults.
|
|
2611
3423
|
*
|
|
2612
3424
|
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
2613
3425
|
*/
|
|
2614
3426
|
export const METRIC_SYSTEM_PAGING_FAULTS = 'system.paging.faults';
|
|
2615
3427
|
/**
|
|
2616
|
-
*
|
|
3428
|
+
* The number of paging operations.
|
|
2617
3429
|
*
|
|
2618
3430
|
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
2619
3431
|
*/
|
|
@@ -2625,7 +3437,7 @@ export const METRIC_SYSTEM_PAGING_OPERATIONS = 'system.paging.operations';
|
|
|
2625
3437
|
*/
|
|
2626
3438
|
export const METRIC_SYSTEM_PAGING_USAGE = 'system.paging.usage';
|
|
2627
3439
|
/**
|
|
2628
|
-
*
|
|
3440
|
+
* Swap (unix) or pagefile (windows) utilization.
|
|
2629
3441
|
*
|
|
2630
3442
|
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
2631
3443
|
*/
|
|
@@ -2660,19 +3472,19 @@ export const METRIC_SYSTEM_UPTIME = 'system.uptime';
|
|
|
2660
3472
|
*/
|
|
2661
3473
|
export const METRIC_V8JS_GC_DURATION = 'v8js.gc.duration';
|
|
2662
3474
|
/**
|
|
2663
|
-
*
|
|
2664
|
-
*
|
|
2665
|
-
* @note Value can be retrieved from value `space_available_size` of [`v8.getHeapSpaceStatistics()`](https://nodejs.org/api/v8.html#v8getheapspacestatistics)
|
|
3475
|
+
* Deprecated, use `v8js.memory.heap.space.available_size` instead.
|
|
2666
3476
|
*
|
|
2667
3477
|
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
3478
|
+
*
|
|
3479
|
+
* @deprecated Replaced by `v8js.memory.heap.space.available_size`.
|
|
2668
3480
|
*/
|
|
2669
3481
|
export const METRIC_V8JS_HEAP_SPACE_AVAILABLE_SIZE = 'v8js.heap.space.available_size';
|
|
2670
3482
|
/**
|
|
2671
|
-
*
|
|
2672
|
-
*
|
|
2673
|
-
* @note Value can be retrieved from value `physical_space_size` of [`v8.getHeapSpaceStatistics()`](https://nodejs.org/api/v8.html#v8getheapspacestatistics)
|
|
3483
|
+
* Deprecated, use `v8js.memory.heap.space.physical_size` instead.
|
|
2674
3484
|
*
|
|
2675
3485
|
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
3486
|
+
*
|
|
3487
|
+
* @deprecated Replaced by `v8js.memory.heap.space.physical_size`.
|
|
2676
3488
|
*/
|
|
2677
3489
|
export const METRIC_V8JS_HEAP_SPACE_PHYSICAL_SIZE = 'v8js.heap.space.physical_size';
|
|
2678
3490
|
/**
|
|
@@ -2683,6 +3495,22 @@ export const METRIC_V8JS_HEAP_SPACE_PHYSICAL_SIZE = 'v8js.heap.space.physical_si
|
|
|
2683
3495
|
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
2684
3496
|
*/
|
|
2685
3497
|
export const METRIC_V8JS_MEMORY_HEAP_LIMIT = 'v8js.memory.heap.limit';
|
|
3498
|
+
/**
|
|
3499
|
+
* Heap space available size.
|
|
3500
|
+
*
|
|
3501
|
+
* @note Value can be retrieved from value `space_available_size` of [`v8.getHeapSpaceStatistics()`](https://nodejs.org/api/v8.html#v8getheapspacestatistics)
|
|
3502
|
+
*
|
|
3503
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
3504
|
+
*/
|
|
3505
|
+
export const METRIC_V8JS_MEMORY_HEAP_SPACE_AVAILABLE_SIZE = 'v8js.memory.heap.space.available_size';
|
|
3506
|
+
/**
|
|
3507
|
+
* Committed size of a heap space.
|
|
3508
|
+
*
|
|
3509
|
+
* @note Value can be retrieved from value `physical_space_size` of [`v8.getHeapSpaceStatistics()`](https://nodejs.org/api/v8.html#v8getheapspacestatistics)
|
|
3510
|
+
*
|
|
3511
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
3512
|
+
*/
|
|
3513
|
+
export const METRIC_V8JS_MEMORY_HEAP_SPACE_PHYSICAL_SIZE = 'v8js.memory.heap.space.physical_size';
|
|
2686
3514
|
/**
|
|
2687
3515
|
* Heap Memory size allocated.
|
|
2688
3516
|
*
|