@contrast/agent-bundle 5.39.1 → 5.41.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/node_modules/@contrast/agent/lib/start-agent.js +50 -40
- package/node_modules/@contrast/agent/package.json +11 -11
- package/node_modules/@contrast/agent-swc-plugin/index.js +9 -3
- package/node_modules/@contrast/agent-swc-plugin/methods.js +15 -1
- package/node_modules/@contrast/agent-swc-plugin/package.json +5 -8
- package/node_modules/@contrast/agent-swc-plugin/rewriter.wasm +0 -0
- package/node_modules/@contrast/agentify/lib/index.js +2 -2
- package/node_modules/@contrast/agentify/package.json +15 -14
- package/node_modules/@contrast/architecture-components/package.json +5 -5
- package/node_modules/@contrast/assess/lib/dataflow/propagation/install/string/replace.js +6 -3
- package/node_modules/@contrast/assess/lib/dataflow/propagation/install/util-format.js +44 -21
- package/node_modules/@contrast/assess/lib/dataflow/sources/index.js +1 -1
- package/node_modules/@contrast/assess/lib/dataflow/sources/install/{body-parser1.js → body-parser.js} +2 -2
- package/node_modules/@contrast/assess/lib/dataflow/sources/install/koa/koa-bodyparsers.js +3 -1
- package/node_modules/@contrast/assess/lib/dataflow/sources/install/qs6.js +5 -5
- package/node_modules/@contrast/assess/lib/dataflow/sources/install/querystring.js +2 -1
- package/node_modules/@contrast/assess/lib/index.d.ts +0 -1
- package/node_modules/@contrast/assess/lib/make-source-context.js +7 -37
- package/node_modules/@contrast/assess/lib/sampler/common.js +7 -11
- package/node_modules/@contrast/assess/package.json +12 -11
- package/node_modules/@contrast/common/lib/constants.d.ts +6 -0
- package/node_modules/@contrast/common/lib/constants.js +8 -1
- package/node_modules/@contrast/common/lib/types.d.ts +7 -1
- package/node_modules/@contrast/common/package.json +1 -1
- package/node_modules/@contrast/config/lib/common.js +1 -1
- package/node_modules/@contrast/config/lib/config.js +49 -27
- package/node_modules/@contrast/config/lib/index.d.ts +3 -2
- package/node_modules/@contrast/config/lib/options.js +4 -4
- package/node_modules/@contrast/config/package.json +4 -3
- package/node_modules/@contrast/core/lib/sensitive-data-masking/protect-listener.js +15 -15
- package/node_modules/@contrast/core/package.json +6 -6
- package/node_modules/@contrast/deadzones/package.json +5 -5
- package/node_modules/@contrast/dep-hooks/package.json +3 -3
- package/node_modules/@contrast/esm-hooks/package.json +6 -6
- package/node_modules/@contrast/instrumentation/lib/index.js +0 -1
- package/node_modules/@contrast/instrumentation/package.json +5 -5
- package/node_modules/@contrast/library-analysis/lib/install/library-reporting/dep.json +300 -152
- package/node_modules/@contrast/library-analysis/lib/install/library-reporting/index.js +9 -2
- package/node_modules/@contrast/library-analysis/lib/install/library-reporting/utils.js +54 -43
- package/node_modules/@contrast/library-analysis/package.json +4 -4
- package/node_modules/@contrast/logger/lib/serializers.js +2 -2
- package/node_modules/@contrast/logger/package.json +3 -3
- package/node_modules/@contrast/metrics/package.json +6 -6
- package/node_modules/@contrast/patcher/package.json +2 -2
- package/node_modules/@contrast/protect/lib/get-source-context.js +3 -1
- package/node_modules/@contrast/protect/lib/index.js +6 -1
- package/node_modules/@contrast/protect/lib/input-analysis/handlers.js +7 -9
- package/node_modules/@contrast/protect/lib/input-analysis/index.js +1 -1
- package/node_modules/@contrast/protect/lib/input-analysis/install/{body-parser1.js → body-parser.js} +1 -1
- package/node_modules/@contrast/protect/lib/input-analysis/install/http.js +18 -19
- package/node_modules/@contrast/protect/lib/input-analysis/install/qs6.js +18 -17
- package/node_modules/@contrast/protect/lib/input-analysis/install/universal-cookie4.js +2 -3
- package/node_modules/@contrast/protect/lib/make-source-context.js +22 -66
- package/node_modules/@contrast/protect/lib/semantic-analysis/handlers.js +73 -72
- package/node_modules/@contrast/protect/package.json +11 -11
- package/node_modules/@contrast/reporter/lib/reporters/contrast-ui/endpoints/application-activity/index.js +7 -7
- package/node_modules/@contrast/reporter/lib/reporters/contrast-ui/endpoints/application-activity/translations.d.ts +3 -3
- package/node_modules/@contrast/reporter/lib/reporters/contrast-ui/endpoints/application-activity/translations.js +24 -21
- package/node_modules/@contrast/reporter/lib/reporters/contrast-ui/endpoints/routes-observed.js +2 -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 -2
- package/node_modules/@contrast/reporter/lib/reporters/contrast-ui/endpoints/traces/translations.js +8 -2
- package/node_modules/@contrast/reporter/lib/reporters/security-logger/index.d.ts +2 -2
- package/node_modules/@contrast/reporter/lib/reporters/security-logger/index.js +22 -20
- package/node_modules/@contrast/reporter/package.json +7 -7
- package/node_modules/@contrast/rewriter/lib/index.js +2 -2
- package/node_modules/@contrast/rewriter/package.json +6 -6
- package/node_modules/@contrast/route-coverage/lib/index.d.ts +2 -0
- package/node_modules/@contrast/route-coverage/lib/index.js +15 -17
- package/node_modules/@contrast/route-coverage/lib/install/express/express5.js +489 -202
- package/node_modules/@contrast/route-coverage/package.json +9 -9
- package/node_modules/@contrast/scopes/package.json +5 -5
- package/node_modules/@contrast/sec-obs/lib/traces/http.js +2 -2
- package/node_modules/@contrast/sec-obs/lib/traces/http.test.js +17 -0
- package/node_modules/@contrast/sec-obs/lib/traces/outbound-service-call.js +2 -2
- package/node_modules/@contrast/sec-obs/lib/traces/outbound-service-call.test.js +17 -0
- package/node_modules/@contrast/sec-obs/package.json +9 -9
- package/node_modules/@contrast/sources/lib/index.js +109 -0
- package/node_modules/@contrast/sources/lib/index.test.js +120 -0
- package/node_modules/@contrast/{route-coverage/lib/normalized-url-mapper.js → sources/lib/normalized-uri-mapper.js} +10 -3
- package/node_modules/@contrast/sources/lib/normalized-uri-mapper.test.js +59 -0
- package/node_modules/@contrast/{sec-obs/node_modules/@contrast/core/lib/sensitive-data-masking/constants.js → sources/lib/req-data.js} +0 -6
- package/node_modules/@contrast/sources/lib/source-info.js +183 -0
- package/node_modules/@contrast/sources/lib/source-info.test.js +68 -0
- package/node_modules/@contrast/sources/package.json +16 -0
- package/node_modules/@contrast/telemetry/package.json +6 -6
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/experimental_attributes.d.ts +2831 -77
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/experimental_attributes.js +2831 -77
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/experimental_attributes.js.map +1 -1
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/experimental_metrics.d.ts +415 -98
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/experimental_metrics.js +415 -98
- 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 +106 -0
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/stable_attributes.js +106 -0
- 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 +2831 -77
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/experimental_attributes.js +2831 -77
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/experimental_attributes.js.map +1 -1
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/experimental_metrics.d.ts +415 -98
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/experimental_metrics.js +415 -98
- 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 +106 -0
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/stable_attributes.js +106 -0
- 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 +2831 -77
- package/node_modules/@opentelemetry/semantic-conventions/build/src/experimental_attributes.js +2858 -103
- package/node_modules/@opentelemetry/semantic-conventions/build/src/experimental_attributes.js.map +1 -1
- package/node_modules/@opentelemetry/semantic-conventions/build/src/experimental_metrics.d.ts +415 -98
- package/node_modules/@opentelemetry/semantic-conventions/build/src/experimental_metrics.js +420 -102
- 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 +106 -0
- package/node_modules/@opentelemetry/semantic-conventions/build/src/stable_attributes.js +106 -0
- 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 -3
- package/node_modules/@types/node/README.md +2 -2
- package/node_modules/@types/node/buffer.d.ts +5 -0
- package/node_modules/@types/node/dns/promises.d.ts +11 -10
- package/node_modules/@types/node/dns.d.ts +18 -19
- package/node_modules/@types/node/fs.d.ts +13 -1
- package/node_modules/@types/node/http.d.ts +4 -19
- package/node_modules/@types/node/inspector.d.ts +53 -0
- package/node_modules/@types/node/package.json +2 -82
- package/node_modules/@types/node/stream/web.d.ts +4 -0
- package/node_modules/axios/CHANGELOG.md +17 -0
- package/node_modules/axios/README.md +1 -4
- package/node_modules/axios/dist/axios.js +39 -5
- 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 +46 -9
- package/node_modules/axios/dist/browser/axios.cjs.map +1 -1
- package/node_modules/axios/dist/esm/axios.js +46 -9
- 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 +46 -9
- package/node_modules/axios/dist/node/axios.cjs.map +1 -1
- package/node_modules/axios/index.d.cts +13 -2
- package/node_modules/axios/lib/core/Axios.js +2 -2
- package/node_modules/axios/lib/core/mergeConfig.js +1 -1
- package/node_modules/axios/lib/env/data.js +1 -1
- package/node_modules/axios/lib/helpers/throttle.js +1 -1
- package/node_modules/axios/lib/helpers/toURLEncodedForm.js +4 -3
- package/node_modules/axios/lib/utils.js +36 -0
- package/node_modules/axios/package.json +5 -5
- package/node_modules/deepmerge/.editorconfig +7 -0
- package/node_modules/deepmerge/.eslintcache +1 -0
- package/node_modules/deepmerge/changelog.md +167 -0
- package/node_modules/deepmerge/dist/cjs.js +133 -0
- package/node_modules/deepmerge/dist/umd.js +139 -0
- package/node_modules/deepmerge/index.d.ts +20 -0
- package/node_modules/deepmerge/index.js +106 -0
- package/node_modules/{path-to-regexp/LICENSE → deepmerge/license.txt} +1 -1
- package/node_modules/deepmerge/package.json +42 -0
- package/node_modules/deepmerge/readme.md +264 -0
- package/node_modules/deepmerge/rollup.config.js +22 -0
- package/node_modules/follow-redirects/package.json +1 -1
- package/node_modules/form-data/CHANGELOG.md +601 -0
- package/node_modules/form-data/{Readme.md → README.md} +4 -4
- package/node_modules/form-data/lib/form_data.js +2 -6
- package/node_modules/form-data/package.json +22 -6
- package/node_modules/nan/.github/workflows/ci.yml +8 -10
- package/node_modules/nan/.pre-commit-config.yaml +8 -0
- package/node_modules/nan/CHANGELOG.md +5 -1
- package/node_modules/nan/README.md +4 -4
- package/node_modules/nan/nan.h +16 -12
- package/node_modules/nan/nan_callbacks.h +13 -0
- package/node_modules/nan/nan_callbacks_12_inl.h +16 -2
- package/node_modules/nan/nan_callbacks_pre_12_inl.h +6 -2
- package/node_modules/nan/nan_maybe_43_inl.h +1 -1
- package/node_modules/nan/nan_maybe_pre_43_inl.h +1 -1
- package/node_modules/nan/nan_scriptorigin.h +11 -9
- package/node_modules/nan/nan_typedarray_contents.h +1 -1
- package/node_modules/nan/package.json +2 -2
- package/package.json +5 -3
- package/node_modules/@contrast/agentify/lib/sources.js +0 -94
- package/node_modules/@contrast/route-coverage/lib/install/http.js +0 -44
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/common/LICENSE +0 -12
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/common/lib/constants.d.ts +0 -385
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/common/lib/constants.js +0 -270
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/common/lib/index.d.ts +0 -40
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/common/lib/index.js +0 -228
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/common/lib/primordials.d.ts +0 -65
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/common/lib/primordials.js +0 -66
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/common/lib/types.d.ts +0 -383
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/common/lib/types.js +0 -30
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/common/package.json +0 -23
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/config/LICENSE +0 -12
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/config/README.md +0 -44
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/config/lib/common.js +0 -131
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/config/lib/config.js +0 -290
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/config/lib/index.d.ts +0 -328
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/config/lib/index.js +0 -29
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/config/lib/options.js +0 -836
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/config/lib/validators.js +0 -23
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/config/package.json +0 -27
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/core/LICENSE +0 -12
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/core/README.md +0 -98
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/core/lib/agent-info.js +0 -36
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/core/lib/app-info.js +0 -233
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/core/lib/build-id.js +0 -51
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/core/lib/capture-stacktrace.js +0 -256
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/core/lib/contrast-methods.js +0 -155
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/core/lib/index.d.ts +0 -52
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/core/lib/ioc/core.js +0 -95
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/core/lib/is-agent-path.js +0 -37
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/core/lib/messages.js +0 -28
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/core/lib/sensitive-data-masking/index.js +0 -63
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/core/lib/sensitive-data-masking/protect-listener.js +0 -111
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/core/lib/sensitive-data-masking/server-settings-listener.js +0 -44
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/core/lib/system-info/cloud-provider-metadata.js +0 -146
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/core/lib/system-info/index.js +0 -225
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/core/lib/system-info/linux-os-info.js +0 -137
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/core/lib/system-info/utils.js +0 -35
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/core/package.json +0 -33
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/dep-hooks/LICENSE +0 -12
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/dep-hooks/README.md +0 -94
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/dep-hooks/lib/export-handler-registry.d.ts +0 -121
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/dep-hooks/lib/export-handler-registry.js +0 -206
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/dep-hooks/lib/export-hook-descriptor.d.ts +0 -72
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/dep-hooks/lib/export-hook-descriptor.js +0 -88
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/dep-hooks/lib/handler-invoker.d.ts +0 -46
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/dep-hooks/lib/handler-invoker.js +0 -106
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/dep-hooks/lib/helpers.d.ts +0 -28
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/dep-hooks/lib/helpers.js +0 -66
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/dep-hooks/lib/index.d.ts +0 -115
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/dep-hooks/lib/index.js +0 -208
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/dep-hooks/lib/package-finder.d.ts +0 -43
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/dep-hooks/lib/package-finder.js +0 -79
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/dep-hooks/package.json +0 -29
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/logger/LICENSE +0 -12
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/logger/README.md +0 -270
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/logger/lib/index.d.ts +0 -16
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/logger/lib/index.js +0 -132
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/logger/lib/serializers.d.ts +0 -33
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/logger/lib/serializers.js +0 -75
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/logger/lib/utils.d.ts +0 -15
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/logger/lib/utils.js +0 -34
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/logger/package.json +0 -28
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/patcher/LICENSE +0 -12
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/patcher/README.md +0 -51
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/patcher/lib/index.d.ts +0 -101
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/patcher/lib/index.js +0 -544
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/patcher/package.json +0 -25
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/rewriter/LICENSE +0 -12
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/rewriter/README.md +0 -6
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/rewriter/lib/cache.js +0 -318
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/rewriter/lib/index.js +0 -216
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/rewriter/lib/rewrite-is-deadzoned.js +0 -143
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/rewriter/package.json +0 -30
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/scopes/LICENSE +0 -12
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/scopes/lib/constants.js +0 -26
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/scopes/lib/index.d.ts +0 -46
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/scopes/lib/index.js +0 -70
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/scopes/lib/install/bluebird.js +0 -128
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/scopes/lib/install/index.js +0 -34
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/scopes/lib/install/mongodb-core.js +0 -83
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/scopes/lib/install/mongodb3.js +0 -89
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/scopes/lib/install/mongodb4.js +0 -80
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/scopes/lib/install/mongodb6.js +0 -46
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/scopes/lib/install/mysql.js +0 -151
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/scopes/lib/install/redis.js +0 -79
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/scopes/lib/utils.js +0 -35
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/scopes/package.json +0 -28
- package/node_modules/form-data/README.md.bak +0 -355
- package/node_modules/path-to-regexp/Readme.md +0 -216
- package/node_modules/path-to-regexp/dist/index.d.ts +0 -136
- package/node_modules/path-to-regexp/dist/index.js +0 -403
- package/node_modules/path-to-regexp/dist/index.js.map +0 -1
- package/node_modules/path-to-regexp/package.json +0 -62
package/node_modules/@opentelemetry/semantic-conventions/build/esnext/experimental_metrics.js
CHANGED
|
@@ -112,21 +112,27 @@ export const METRIC_CONTAINER_NETWORK_IO = 'container.network.io';
|
|
|
112
112
|
*/
|
|
113
113
|
export const METRIC_CONTAINER_UPTIME = 'container.uptime';
|
|
114
114
|
/**
|
|
115
|
-
*
|
|
115
|
+
* Deprecated. Use `system.cpu.frequency` instead.
|
|
116
116
|
*
|
|
117
117
|
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
118
|
+
*
|
|
119
|
+
* @deprecated Replaced by `system.cpu.frequency`.
|
|
118
120
|
*/
|
|
119
121
|
export const METRIC_CPU_FREQUENCY = 'cpu.frequency';
|
|
120
122
|
/**
|
|
121
|
-
*
|
|
123
|
+
* Deprecated. Use `system.cpu.time` instead.
|
|
122
124
|
*
|
|
123
125
|
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
126
|
+
*
|
|
127
|
+
* @deprecated Replaced by `system.cpu.time`.
|
|
124
128
|
*/
|
|
125
129
|
export const METRIC_CPU_TIME = 'cpu.time';
|
|
126
130
|
/**
|
|
127
|
-
*
|
|
131
|
+
* Deprecated. Use `system.cpu.utilization` instead.
|
|
128
132
|
*
|
|
129
133
|
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
134
|
+
*
|
|
135
|
+
* @deprecated Replaced by `system.cpu.utilization`.
|
|
130
136
|
*/
|
|
131
137
|
export const METRIC_CPU_UTILIZATION = 'cpu.utilization';
|
|
132
138
|
/**
|
|
@@ -629,15 +635,115 @@ export const METRIC_JVM_SYSTEM_CPU_LOAD_1M = 'jvm.system.cpu.load_1m';
|
|
|
629
635
|
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
630
636
|
*/
|
|
631
637
|
export const METRIC_JVM_SYSTEM_CPU_UTILIZATION = 'jvm.system.cpu.utilization';
|
|
638
|
+
/**
|
|
639
|
+
* Maximum CPU resource limit set for the container
|
|
640
|
+
*
|
|
641
|
+
* @note See https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#resourcerequirements-v1-core for details.
|
|
642
|
+
*
|
|
643
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
644
|
+
*/
|
|
645
|
+
export const METRIC_K8S_CONTAINER_CPU_LIMIT = 'k8s.container.cpu.limit';
|
|
646
|
+
/**
|
|
647
|
+
* CPU resource requested for the container
|
|
648
|
+
*
|
|
649
|
+
* @note See https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#resourcerequirements-v1-core for details.
|
|
650
|
+
*
|
|
651
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
652
|
+
*/
|
|
653
|
+
export const METRIC_K8S_CONTAINER_CPU_REQUEST = 'k8s.container.cpu.request';
|
|
654
|
+
/**
|
|
655
|
+
* Maximum ephemeral storage resource limit set for the container
|
|
656
|
+
*
|
|
657
|
+
* @note See https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#resourcerequirements-v1-core for details.
|
|
658
|
+
*
|
|
659
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
660
|
+
*/
|
|
661
|
+
export const METRIC_K8S_CONTAINER_EPHEMERAL_STORAGE_LIMIT = 'k8s.container.ephemeral_storage.limit';
|
|
662
|
+
/**
|
|
663
|
+
* Ephemeral storage resource requested for the container
|
|
664
|
+
*
|
|
665
|
+
* @note See https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#resourcerequirements-v1-core for details.
|
|
666
|
+
*
|
|
667
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
668
|
+
*/
|
|
669
|
+
export const METRIC_K8S_CONTAINER_EPHEMERAL_STORAGE_REQUEST = 'k8s.container.ephemeral_storage.request';
|
|
670
|
+
/**
|
|
671
|
+
* Maximum memory resource limit set for the container
|
|
672
|
+
*
|
|
673
|
+
* @note See https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#resourcerequirements-v1-core for details.
|
|
674
|
+
*
|
|
675
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
676
|
+
*/
|
|
677
|
+
export const METRIC_K8S_CONTAINER_MEMORY_LIMIT = 'k8s.container.memory.limit';
|
|
678
|
+
/**
|
|
679
|
+
* Memory resource requested for the container
|
|
680
|
+
*
|
|
681
|
+
* @note See https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#resourcerequirements-v1-core for details.
|
|
682
|
+
*
|
|
683
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
684
|
+
*/
|
|
685
|
+
export const METRIC_K8S_CONTAINER_MEMORY_REQUEST = 'k8s.container.memory.request';
|
|
686
|
+
/**
|
|
687
|
+
* Indicates whether the container is currently marked as ready to accept traffic, based on its readiness probe (1 = ready, 0 = not ready)
|
|
688
|
+
*
|
|
689
|
+
* @note This metric **SHOULD** reflect the value of the `ready` field in the
|
|
690
|
+
* [K8s ContainerStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#containerstatus-v1-core).
|
|
691
|
+
*
|
|
692
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
693
|
+
*/
|
|
694
|
+
export const METRIC_K8S_CONTAINER_READY = 'k8s.container.ready';
|
|
695
|
+
/**
|
|
696
|
+
* Describes how many times the container has restarted (since the last counter reset)
|
|
697
|
+
*
|
|
698
|
+
* @note This value is pulled directly from the K8s API and the value can go indefinitely high and be reset to 0
|
|
699
|
+
* at any time depending on how your kubelet is configured to prune dead containers.
|
|
700
|
+
* It is best to not depend too much on the exact value but rather look at it as
|
|
701
|
+
* either == 0, in which case you can conclude there were no restarts in the recent past, or > 0, in which case
|
|
702
|
+
* you can conclude there were restarts in the recent past, and not try and analyze the value beyond that.
|
|
703
|
+
*
|
|
704
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
705
|
+
*/
|
|
706
|
+
export const METRIC_K8S_CONTAINER_RESTART_COUNT = 'k8s.container.restart.count';
|
|
707
|
+
/**
|
|
708
|
+
* Describes the number of K8s containers that are currently in a state for a given reason
|
|
709
|
+
*
|
|
710
|
+
* @note All possible container state reasons will be reported at each time interval to avoid missing metrics.
|
|
711
|
+
* Only the value corresponding to the current state reason will be non-zero.
|
|
712
|
+
*
|
|
713
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
714
|
+
*/
|
|
715
|
+
export const METRIC_K8S_CONTAINER_STATUS_REASON = 'k8s.container.status.reason';
|
|
716
|
+
/**
|
|
717
|
+
* Describes the number of K8s containers that are currently in a given state
|
|
718
|
+
*
|
|
719
|
+
* @note All possible container states will be reported at each time interval to avoid missing metrics.
|
|
720
|
+
* Only the value corresponding to the current state will be non-zero.
|
|
721
|
+
*
|
|
722
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
723
|
+
*/
|
|
724
|
+
export const METRIC_K8S_CONTAINER_STATUS_STATE = 'k8s.container.status.state';
|
|
725
|
+
/**
|
|
726
|
+
* Maximum storage resource limit set for the container
|
|
727
|
+
*
|
|
728
|
+
* @note See https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#resourcerequirements-v1-core for details.
|
|
729
|
+
*
|
|
730
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
731
|
+
*/
|
|
732
|
+
export const METRIC_K8S_CONTAINER_STORAGE_LIMIT = 'k8s.container.storage.limit';
|
|
733
|
+
/**
|
|
734
|
+
* Storage resource requested for the container
|
|
735
|
+
*
|
|
736
|
+
* @note See https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#resourcerequirements-v1-core for details.
|
|
737
|
+
*
|
|
738
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
739
|
+
*/
|
|
740
|
+
export const METRIC_K8S_CONTAINER_STORAGE_REQUEST = 'k8s.container.storage.request';
|
|
632
741
|
/**
|
|
633
742
|
* The number of actively running jobs for a cronjob
|
|
634
743
|
*
|
|
635
744
|
* @note This metric aligns with the `active` field of the
|
|
636
745
|
* [K8s CronJobStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#cronjobstatus-v1-batch).
|
|
637
746
|
*
|
|
638
|
-
* This metric **SHOULD**, at a minimum, be reported against a
|
|
639
|
-
* [`k8s.cronjob`](../resource/k8s.md#cronjob) resource.
|
|
640
|
-
*
|
|
641
747
|
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
642
748
|
*/
|
|
643
749
|
export const METRIC_K8S_CRONJOB_ACTIVE_JOBS = 'k8s.cronjob.active_jobs';
|
|
@@ -647,9 +753,6 @@ export const METRIC_K8S_CRONJOB_ACTIVE_JOBS = 'k8s.cronjob.active_jobs';
|
|
|
647
753
|
* @note This metric aligns with the `currentNumberScheduled` field of the
|
|
648
754
|
* [K8s DaemonSetStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#daemonsetstatus-v1-apps).
|
|
649
755
|
*
|
|
650
|
-
* This metric **SHOULD**, at a minimum, be reported against a
|
|
651
|
-
* [`k8s.daemonset`](../resource/k8s.md#daemonset) resource.
|
|
652
|
-
*
|
|
653
756
|
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
654
757
|
*/
|
|
655
758
|
export const METRIC_K8S_DAEMONSET_CURRENT_SCHEDULED_NODES = 'k8s.daemonset.current_scheduled_nodes';
|
|
@@ -659,9 +762,6 @@ export const METRIC_K8S_DAEMONSET_CURRENT_SCHEDULED_NODES = 'k8s.daemonset.curre
|
|
|
659
762
|
* @note This metric aligns with the `desiredNumberScheduled` field of the
|
|
660
763
|
* [K8s DaemonSetStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#daemonsetstatus-v1-apps).
|
|
661
764
|
*
|
|
662
|
-
* This metric **SHOULD**, at a minimum, be reported against a
|
|
663
|
-
* [`k8s.daemonset`](../resource/k8s.md#daemonset) resource.
|
|
664
|
-
*
|
|
665
765
|
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
666
766
|
*/
|
|
667
767
|
export const METRIC_K8S_DAEMONSET_DESIRED_SCHEDULED_NODES = 'k8s.daemonset.desired_scheduled_nodes';
|
|
@@ -671,9 +771,6 @@ export const METRIC_K8S_DAEMONSET_DESIRED_SCHEDULED_NODES = 'k8s.daemonset.desir
|
|
|
671
771
|
* @note This metric aligns with the `numberMisscheduled` field of the
|
|
672
772
|
* [K8s DaemonSetStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#daemonsetstatus-v1-apps).
|
|
673
773
|
*
|
|
674
|
-
* This metric **SHOULD**, at a minimum, be reported against a
|
|
675
|
-
* [`k8s.daemonset`](../resource/k8s.md#daemonset) resource.
|
|
676
|
-
*
|
|
677
774
|
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
678
775
|
*/
|
|
679
776
|
export const METRIC_K8S_DAEMONSET_MISSCHEDULED_NODES = 'k8s.daemonset.misscheduled_nodes';
|
|
@@ -683,9 +780,6 @@ export const METRIC_K8S_DAEMONSET_MISSCHEDULED_NODES = 'k8s.daemonset.misschedul
|
|
|
683
780
|
* @note This metric aligns with the `numberReady` field of the
|
|
684
781
|
* [K8s DaemonSetStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#daemonsetstatus-v1-apps).
|
|
685
782
|
*
|
|
686
|
-
* This metric **SHOULD**, at a minimum, be reported against a
|
|
687
|
-
* [`k8s.daemonset`](../resource/k8s.md#daemonset) resource.
|
|
688
|
-
*
|
|
689
783
|
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
690
784
|
*/
|
|
691
785
|
export const METRIC_K8S_DAEMONSET_READY_NODES = 'k8s.daemonset.ready_nodes';
|
|
@@ -695,9 +789,6 @@ export const METRIC_K8S_DAEMONSET_READY_NODES = 'k8s.daemonset.ready_nodes';
|
|
|
695
789
|
* @note This metric aligns with the `availableReplicas` field of the
|
|
696
790
|
* [K8s DeploymentStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#deploymentstatus-v1-apps).
|
|
697
791
|
*
|
|
698
|
-
* This metric **SHOULD**, at a minimum, be reported against a
|
|
699
|
-
* [`k8s.deployment`](../resource/k8s.md#deployment) resource.
|
|
700
|
-
*
|
|
701
792
|
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
702
793
|
*/
|
|
703
794
|
export const METRIC_K8S_DEPLOYMENT_AVAILABLE_PODS = 'k8s.deployment.available_pods';
|
|
@@ -707,9 +798,6 @@ export const METRIC_K8S_DEPLOYMENT_AVAILABLE_PODS = 'k8s.deployment.available_po
|
|
|
707
798
|
* @note This metric aligns with the `replicas` field of the
|
|
708
799
|
* [K8s DeploymentSpec](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#deploymentspec-v1-apps).
|
|
709
800
|
*
|
|
710
|
-
* This metric **SHOULD**, at a minimum, be reported against a
|
|
711
|
-
* [`k8s.deployment`](../resource/k8s.md#deployment) resource.
|
|
712
|
-
*
|
|
713
801
|
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
714
802
|
*/
|
|
715
803
|
export const METRIC_K8S_DEPLOYMENT_DESIRED_PODS = 'k8s.deployment.desired_pods';
|
|
@@ -719,9 +807,6 @@ export const METRIC_K8S_DEPLOYMENT_DESIRED_PODS = 'k8s.deployment.desired_pods';
|
|
|
719
807
|
* @note This metric aligns with the `currentReplicas` field of the
|
|
720
808
|
* [K8s HorizontalPodAutoscalerStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#horizontalpodautoscalerstatus-v2-autoscaling)
|
|
721
809
|
*
|
|
722
|
-
* This metric **SHOULD**, at a minimum, be reported against a
|
|
723
|
-
* [`k8s.hpa`](../resource/k8s.md#horizontalpodautoscaler) resource.
|
|
724
|
-
*
|
|
725
810
|
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
726
811
|
*/
|
|
727
812
|
export const METRIC_K8S_HPA_CURRENT_PODS = 'k8s.hpa.current_pods';
|
|
@@ -731,9 +816,6 @@ export const METRIC_K8S_HPA_CURRENT_PODS = 'k8s.hpa.current_pods';
|
|
|
731
816
|
* @note This metric aligns with the `desiredReplicas` field of the
|
|
732
817
|
* [K8s HorizontalPodAutoscalerStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#horizontalpodautoscalerstatus-v2-autoscaling)
|
|
733
818
|
*
|
|
734
|
-
* This metric **SHOULD**, at a minimum, be reported against a
|
|
735
|
-
* [`k8s.hpa`](../resource/k8s.md#horizontalpodautoscaler) resource.
|
|
736
|
-
*
|
|
737
819
|
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
738
820
|
*/
|
|
739
821
|
export const METRIC_K8S_HPA_DESIRED_PODS = 'k8s.hpa.desired_pods';
|
|
@@ -743,21 +825,48 @@ export const METRIC_K8S_HPA_DESIRED_PODS = 'k8s.hpa.desired_pods';
|
|
|
743
825
|
* @note This metric aligns with the `maxReplicas` field of the
|
|
744
826
|
* [K8s HorizontalPodAutoscalerSpec](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#horizontalpodautoscalerspec-v2-autoscaling)
|
|
745
827
|
*
|
|
746
|
-
* This metric **SHOULD**, at a minimum, be reported against a
|
|
747
|
-
* [`k8s.hpa`](../resource/k8s.md#horizontalpodautoscaler) resource.
|
|
748
|
-
*
|
|
749
828
|
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
750
829
|
*/
|
|
751
830
|
export const METRIC_K8S_HPA_MAX_PODS = 'k8s.hpa.max_pods';
|
|
831
|
+
/**
|
|
832
|
+
* Target average utilization, in percentage, for CPU resource in HPA config.
|
|
833
|
+
*
|
|
834
|
+
* @note This metric aligns with the `averageUtilization` field of the
|
|
835
|
+
* [K8s HPA MetricTarget](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#metrictarget-v2-autoscaling).
|
|
836
|
+
* If the type of the metric is [`ContainerResource`](https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/#support-for-metrics-apis),
|
|
837
|
+
* the `k8s.container.name` attribute **MUST** be set to identify the specific container within the pod to which the metric applies.
|
|
838
|
+
*
|
|
839
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
840
|
+
*/
|
|
841
|
+
export const METRIC_K8S_HPA_METRIC_TARGET_CPU_AVERAGE_UTILIZATION = 'k8s.hpa.metric.target.cpu.average_utilization';
|
|
842
|
+
/**
|
|
843
|
+
* Target average value for CPU resource in HPA config.
|
|
844
|
+
*
|
|
845
|
+
* @note This metric aligns with the `averageValue` field of the
|
|
846
|
+
* [K8s HPA MetricTarget](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#metrictarget-v2-autoscaling).
|
|
847
|
+
* If the type of the metric is [`ContainerResource`](https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/#support-for-metrics-apis),
|
|
848
|
+
* the `k8s.container.name` attribute **MUST** be set to identify the specific container within the pod to which the metric applies.
|
|
849
|
+
*
|
|
850
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
851
|
+
*/
|
|
852
|
+
export const METRIC_K8S_HPA_METRIC_TARGET_CPU_AVERAGE_VALUE = 'k8s.hpa.metric.target.cpu.average_value';
|
|
853
|
+
/**
|
|
854
|
+
* Target value for CPU resource in HPA config.
|
|
855
|
+
*
|
|
856
|
+
* @note This metric aligns with the `value` field of the
|
|
857
|
+
* [K8s HPA MetricTarget](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#metrictarget-v2-autoscaling).
|
|
858
|
+
* If the type of the metric is [`ContainerResource`](https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/#support-for-metrics-apis),
|
|
859
|
+
* the `k8s.container.name` attribute **MUST** be set to identify the specific container within the pod to which the metric applies.
|
|
860
|
+
*
|
|
861
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
862
|
+
*/
|
|
863
|
+
export const METRIC_K8S_HPA_METRIC_TARGET_CPU_VALUE = 'k8s.hpa.metric.target.cpu.value';
|
|
752
864
|
/**
|
|
753
865
|
* The lower limit for the number of replica pods to which the autoscaler can scale down
|
|
754
866
|
*
|
|
755
867
|
* @note This metric aligns with the `minReplicas` field of the
|
|
756
868
|
* [K8s HorizontalPodAutoscalerSpec](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#horizontalpodautoscalerspec-v2-autoscaling)
|
|
757
869
|
*
|
|
758
|
-
* This metric **SHOULD**, at a minimum, be reported against a
|
|
759
|
-
* [`k8s.hpa`](../resource/k8s.md#horizontalpodautoscaler) resource.
|
|
760
|
-
*
|
|
761
870
|
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
762
871
|
*/
|
|
763
872
|
export const METRIC_K8S_HPA_MIN_PODS = 'k8s.hpa.min_pods';
|
|
@@ -767,9 +876,6 @@ export const METRIC_K8S_HPA_MIN_PODS = 'k8s.hpa.min_pods';
|
|
|
767
876
|
* @note This metric aligns with the `active` field of the
|
|
768
877
|
* [K8s JobStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#jobstatus-v1-batch).
|
|
769
878
|
*
|
|
770
|
-
* This metric **SHOULD**, at a minimum, be reported against a
|
|
771
|
-
* [`k8s.job`](../resource/k8s.md#job) resource.
|
|
772
|
-
*
|
|
773
879
|
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
774
880
|
*/
|
|
775
881
|
export const METRIC_K8S_JOB_ACTIVE_PODS = 'k8s.job.active_pods';
|
|
@@ -777,10 +883,7 @@ export const METRIC_K8S_JOB_ACTIVE_PODS = 'k8s.job.active_pods';
|
|
|
777
883
|
* The desired number of successfully finished pods the job should be run with
|
|
778
884
|
*
|
|
779
885
|
* @note This metric aligns with the `completions` field of the
|
|
780
|
-
* [K8s JobSpec](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#jobspec-v1-batch)
|
|
781
|
-
*
|
|
782
|
-
* This metric **SHOULD**, at a minimum, be reported against a
|
|
783
|
-
* [`k8s.job`](../resource/k8s.md#job) resource.
|
|
886
|
+
* [K8s JobSpec](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#jobspec-v1-batch)..
|
|
784
887
|
*
|
|
785
888
|
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
786
889
|
*/
|
|
@@ -791,9 +894,6 @@ export const METRIC_K8S_JOB_DESIRED_SUCCESSFUL_PODS = 'k8s.job.desired_successfu
|
|
|
791
894
|
* @note This metric aligns with the `failed` field of the
|
|
792
895
|
* [K8s JobStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#jobstatus-v1-batch).
|
|
793
896
|
*
|
|
794
|
-
* This metric **SHOULD**, at a minimum, be reported against a
|
|
795
|
-
* [`k8s.job`](../resource/k8s.md#job) resource.
|
|
796
|
-
*
|
|
797
897
|
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
798
898
|
*/
|
|
799
899
|
export const METRIC_K8S_JOB_FAILED_PODS = 'k8s.job.failed_pods';
|
|
@@ -803,9 +903,6 @@ export const METRIC_K8S_JOB_FAILED_PODS = 'k8s.job.failed_pods';
|
|
|
803
903
|
* @note This metric aligns with the `parallelism` field of the
|
|
804
904
|
* [K8s JobSpec](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#jobspec-v1-batch).
|
|
805
905
|
*
|
|
806
|
-
* This metric **SHOULD**, at a minimum, be reported against a
|
|
807
|
-
* [`k8s.job`](../resource/k8s.md#job) resource.
|
|
808
|
-
*
|
|
809
906
|
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
810
907
|
*/
|
|
811
908
|
export const METRIC_K8S_JOB_MAX_PARALLEL_PODS = 'k8s.job.max_parallel_pods';
|
|
@@ -815,21 +912,47 @@ export const METRIC_K8S_JOB_MAX_PARALLEL_PODS = 'k8s.job.max_parallel_pods';
|
|
|
815
912
|
* @note This metric aligns with the `succeeded` field of the
|
|
816
913
|
* [K8s JobStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#jobstatus-v1-batch).
|
|
817
914
|
*
|
|
818
|
-
* This metric **SHOULD**, at a minimum, be reported against a
|
|
819
|
-
* [`k8s.job`](../resource/k8s.md#job) resource.
|
|
820
|
-
*
|
|
821
915
|
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
822
916
|
*/
|
|
823
917
|
export const METRIC_K8S_JOB_SUCCESSFUL_PODS = 'k8s.job.successful_pods';
|
|
824
918
|
/**
|
|
825
919
|
* Describes number of K8s namespaces that are currently in a given phase.
|
|
826
920
|
*
|
|
827
|
-
* @note This metric **SHOULD**, at a minimum, be reported against a
|
|
828
|
-
* [`k8s.namespace`](../resource/k8s.md#namespace) resource.
|
|
829
|
-
*
|
|
830
921
|
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
831
922
|
*/
|
|
832
923
|
export const METRIC_K8S_NAMESPACE_PHASE = 'k8s.namespace.phase';
|
|
924
|
+
/**
|
|
925
|
+
* Amount of cpu allocatable on the node
|
|
926
|
+
*
|
|
927
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
928
|
+
*/
|
|
929
|
+
export const METRIC_K8S_NODE_ALLOCATABLE_CPU = 'k8s.node.allocatable.cpu';
|
|
930
|
+
/**
|
|
931
|
+
* Amount of ephemeral-storage allocatable on the node
|
|
932
|
+
*
|
|
933
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
934
|
+
*/
|
|
935
|
+
export const METRIC_K8S_NODE_ALLOCATABLE_EPHEMERAL_STORAGE = 'k8s.node.allocatable.ephemeral_storage';
|
|
936
|
+
/**
|
|
937
|
+
* Amount of memory allocatable on the node
|
|
938
|
+
*
|
|
939
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
940
|
+
*/
|
|
941
|
+
export const METRIC_K8S_NODE_ALLOCATABLE_MEMORY = 'k8s.node.allocatable.memory';
|
|
942
|
+
/**
|
|
943
|
+
* Amount of pods allocatable on the node
|
|
944
|
+
*
|
|
945
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
946
|
+
*/
|
|
947
|
+
export const METRIC_K8S_NODE_ALLOCATABLE_PODS = 'k8s.node.allocatable.pods';
|
|
948
|
+
/**
|
|
949
|
+
* Describes the condition of a particular Node.
|
|
950
|
+
*
|
|
951
|
+
* @note All possible node condition pairs (type and status) will be reported at each time interval to avoid missing metrics. Condition pairs corresponding to the current conditions' statuses will be non-zero.
|
|
952
|
+
*
|
|
953
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
954
|
+
*/
|
|
955
|
+
export const METRIC_K8S_NODE_CONDITION_STATUS = 'k8s.node.condition.status';
|
|
833
956
|
/**
|
|
834
957
|
* Total CPU time consumed
|
|
835
958
|
*
|
|
@@ -926,9 +1049,6 @@ export const METRIC_K8S_POD_UPTIME = 'k8s.pod.uptime';
|
|
|
926
1049
|
* @note This metric aligns with the `availableReplicas` field of the
|
|
927
1050
|
* [K8s ReplicaSetStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#replicasetstatus-v1-apps).
|
|
928
1051
|
*
|
|
929
|
-
* This metric **SHOULD**, at a minimum, be reported against a
|
|
930
|
-
* [`k8s.replicaset`](../resource/k8s.md#replicaset) resource.
|
|
931
|
-
*
|
|
932
1052
|
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
933
1053
|
*/
|
|
934
1054
|
export const METRIC_K8S_REPLICASET_AVAILABLE_PODS = 'k8s.replicaset.available_pods';
|
|
@@ -938,9 +1058,6 @@ export const METRIC_K8S_REPLICASET_AVAILABLE_PODS = 'k8s.replicaset.available_po
|
|
|
938
1058
|
* @note This metric aligns with the `replicas` field of the
|
|
939
1059
|
* [K8s ReplicaSetSpec](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#replicasetspec-v1-apps).
|
|
940
1060
|
*
|
|
941
|
-
* This metric **SHOULD**, at a minimum, be reported against a
|
|
942
|
-
* [`k8s.replicaset`](../resource/k8s.md#replicaset) resource.
|
|
943
|
-
*
|
|
944
1061
|
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
945
1062
|
*/
|
|
946
1063
|
export const METRIC_K8S_REPLICASET_DESIRED_PODS = 'k8s.replicaset.desired_pods';
|
|
@@ -966,9 +1083,6 @@ export const METRIC_K8S_REPLICATION_CONTROLLER_DESIRED_PODS = 'k8s.replication_c
|
|
|
966
1083
|
* @note This metric aligns with the `availableReplicas` field of the
|
|
967
1084
|
* [K8s ReplicationControllerStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#replicationcontrollerstatus-v1-core)
|
|
968
1085
|
*
|
|
969
|
-
* This metric **SHOULD**, at a minimum, be reported against a
|
|
970
|
-
* [`k8s.replicationcontroller`](../resource/k8s.md#replicationcontroller) resource.
|
|
971
|
-
*
|
|
972
1086
|
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
973
1087
|
*/
|
|
974
1088
|
export const METRIC_K8S_REPLICATIONCONTROLLER_AVAILABLE_PODS = 'k8s.replicationcontroller.available_pods';
|
|
@@ -978,21 +1092,227 @@ export const METRIC_K8S_REPLICATIONCONTROLLER_AVAILABLE_PODS = 'k8s.replicationc
|
|
|
978
1092
|
* @note This metric aligns with the `replicas` field of the
|
|
979
1093
|
* [K8s ReplicationControllerSpec](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#replicationcontrollerspec-v1-core)
|
|
980
1094
|
*
|
|
981
|
-
* This metric **SHOULD**, at a minimum, be reported against a
|
|
982
|
-
* [`k8s.replicationcontroller`](../resource/k8s.md#replicationcontroller) resource.
|
|
983
|
-
*
|
|
984
1095
|
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
985
1096
|
*/
|
|
986
1097
|
export const METRIC_K8S_REPLICATIONCONTROLLER_DESIRED_PODS = 'k8s.replicationcontroller.desired_pods';
|
|
1098
|
+
/**
|
|
1099
|
+
* The CPU limits in a specific namespace.
|
|
1100
|
+
* The value represents the configured quota limit of the resource in the namespace.
|
|
1101
|
+
*
|
|
1102
|
+
* @note This metric is retrieved from the `hard` field of the
|
|
1103
|
+
* [K8s ResourceQuotaStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.32/#resourcequotastatus-v1-core).
|
|
1104
|
+
*
|
|
1105
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
1106
|
+
*/
|
|
1107
|
+
export const METRIC_K8S_RESOURCEQUOTA_CPU_LIMIT_HARD = 'k8s.resourcequota.cpu.limit.hard';
|
|
1108
|
+
/**
|
|
1109
|
+
* The CPU limits in a specific namespace.
|
|
1110
|
+
* The value represents the current observed total usage of the resource in the namespace.
|
|
1111
|
+
*
|
|
1112
|
+
* @note This metric is retrieved from the `used` field of the
|
|
1113
|
+
* [K8s ResourceQuotaStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.32/#resourcequotastatus-v1-core).
|
|
1114
|
+
*
|
|
1115
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
1116
|
+
*/
|
|
1117
|
+
export const METRIC_K8S_RESOURCEQUOTA_CPU_LIMIT_USED = 'k8s.resourcequota.cpu.limit.used';
|
|
1118
|
+
/**
|
|
1119
|
+
* The CPU requests in a specific namespace.
|
|
1120
|
+
* The value represents the configured quota limit of the resource in the namespace.
|
|
1121
|
+
*
|
|
1122
|
+
* @note This metric is retrieved from the `hard` field of the
|
|
1123
|
+
* [K8s ResourceQuotaStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.32/#resourcequotastatus-v1-core).
|
|
1124
|
+
*
|
|
1125
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
1126
|
+
*/
|
|
1127
|
+
export const METRIC_K8S_RESOURCEQUOTA_CPU_REQUEST_HARD = 'k8s.resourcequota.cpu.request.hard';
|
|
1128
|
+
/**
|
|
1129
|
+
* The CPU requests in a specific namespace.
|
|
1130
|
+
* The value represents the current observed total usage of the resource in the namespace.
|
|
1131
|
+
*
|
|
1132
|
+
* @note This metric is retrieved from the `used` field of the
|
|
1133
|
+
* [K8s ResourceQuotaStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.32/#resourcequotastatus-v1-core).
|
|
1134
|
+
*
|
|
1135
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
1136
|
+
*/
|
|
1137
|
+
export const METRIC_K8S_RESOURCEQUOTA_CPU_REQUEST_USED = 'k8s.resourcequota.cpu.request.used';
|
|
1138
|
+
/**
|
|
1139
|
+
* The sum of local ephemeral storage limits in the namespace.
|
|
1140
|
+
* The value represents the configured quota limit of the resource in the namespace.
|
|
1141
|
+
*
|
|
1142
|
+
* @note This metric is retrieved from the `hard` field of the
|
|
1143
|
+
* [K8s ResourceQuotaStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.32/#resourcequotastatus-v1-core).
|
|
1144
|
+
*
|
|
1145
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
1146
|
+
*/
|
|
1147
|
+
export const METRIC_K8S_RESOURCEQUOTA_EPHEMERAL_STORAGE_LIMIT_HARD = 'k8s.resourcequota.ephemeral_storage.limit.hard';
|
|
1148
|
+
/**
|
|
1149
|
+
* The sum of local ephemeral storage limits in the namespace.
|
|
1150
|
+
* The value represents the current observed total usage of the resource in the namespace.
|
|
1151
|
+
*
|
|
1152
|
+
* @note This metric is retrieved from the `used` field of the
|
|
1153
|
+
* [K8s ResourceQuotaStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.32/#resourcequotastatus-v1-core).
|
|
1154
|
+
*
|
|
1155
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
1156
|
+
*/
|
|
1157
|
+
export const METRIC_K8S_RESOURCEQUOTA_EPHEMERAL_STORAGE_LIMIT_USED = 'k8s.resourcequota.ephemeral_storage.limit.used';
|
|
1158
|
+
/**
|
|
1159
|
+
* The sum of local ephemeral storage requests in the namespace.
|
|
1160
|
+
* The value represents the configured quota limit of the resource in the namespace.
|
|
1161
|
+
*
|
|
1162
|
+
* @note This metric is retrieved from the `hard` field of the
|
|
1163
|
+
* [K8s ResourceQuotaStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.32/#resourcequotastatus-v1-core).
|
|
1164
|
+
*
|
|
1165
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
1166
|
+
*/
|
|
1167
|
+
export const METRIC_K8S_RESOURCEQUOTA_EPHEMERAL_STORAGE_REQUEST_HARD = 'k8s.resourcequota.ephemeral_storage.request.hard';
|
|
1168
|
+
/**
|
|
1169
|
+
* The sum of local ephemeral storage requests in the namespace.
|
|
1170
|
+
* The value represents the current observed total usage of the resource in the namespace.
|
|
1171
|
+
*
|
|
1172
|
+
* @note This metric is retrieved from the `used` field of the
|
|
1173
|
+
* [K8s ResourceQuotaStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.32/#resourcequotastatus-v1-core).
|
|
1174
|
+
*
|
|
1175
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
1176
|
+
*/
|
|
1177
|
+
export const METRIC_K8S_RESOURCEQUOTA_EPHEMERAL_STORAGE_REQUEST_USED = 'k8s.resourcequota.ephemeral_storage.request.used';
|
|
1178
|
+
/**
|
|
1179
|
+
* The huge page requests in a specific namespace.
|
|
1180
|
+
* The value represents the configured quota limit of the resource in the namespace.
|
|
1181
|
+
*
|
|
1182
|
+
* @note This metric is retrieved from the `hard` field of the
|
|
1183
|
+
* [K8s ResourceQuotaStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.32/#resourcequotastatus-v1-core).
|
|
1184
|
+
*
|
|
1185
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
1186
|
+
*/
|
|
1187
|
+
export const METRIC_K8S_RESOURCEQUOTA_HUGEPAGE_COUNT_REQUEST_HARD = 'k8s.resourcequota.hugepage_count.request.hard';
|
|
1188
|
+
/**
|
|
1189
|
+
* The huge page requests in a specific namespace.
|
|
1190
|
+
* The value represents the current observed total usage of the resource in the namespace.
|
|
1191
|
+
*
|
|
1192
|
+
* @note This metric is retrieved from the `used` field of the
|
|
1193
|
+
* [K8s ResourceQuotaStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.32/#resourcequotastatus-v1-core).
|
|
1194
|
+
*
|
|
1195
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
1196
|
+
*/
|
|
1197
|
+
export const METRIC_K8S_RESOURCEQUOTA_HUGEPAGE_COUNT_REQUEST_USED = 'k8s.resourcequota.hugepage_count.request.used';
|
|
1198
|
+
/**
|
|
1199
|
+
* The memory limits in a specific namespace.
|
|
1200
|
+
* The value represents the configured quota limit of the resource in the namespace.
|
|
1201
|
+
*
|
|
1202
|
+
* @note This metric is retrieved from the `hard` field of the
|
|
1203
|
+
* [K8s ResourceQuotaStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.32/#resourcequotastatus-v1-core).
|
|
1204
|
+
*
|
|
1205
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
1206
|
+
*/
|
|
1207
|
+
export const METRIC_K8S_RESOURCEQUOTA_MEMORY_LIMIT_HARD = 'k8s.resourcequota.memory.limit.hard';
|
|
1208
|
+
/**
|
|
1209
|
+
* The memory limits in a specific namespace.
|
|
1210
|
+
* The value represents the current observed total usage of the resource in the namespace.
|
|
1211
|
+
*
|
|
1212
|
+
* @note This metric is retrieved from the `used` field of the
|
|
1213
|
+
* [K8s ResourceQuotaStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.32/#resourcequotastatus-v1-core).
|
|
1214
|
+
*
|
|
1215
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
1216
|
+
*/
|
|
1217
|
+
export const METRIC_K8S_RESOURCEQUOTA_MEMORY_LIMIT_USED = 'k8s.resourcequota.memory.limit.used';
|
|
1218
|
+
/**
|
|
1219
|
+
* The memory requests in a specific namespace.
|
|
1220
|
+
* The value represents the configured quota limit of the resource in the namespace.
|
|
1221
|
+
*
|
|
1222
|
+
* @note This metric is retrieved from the `hard` field of the
|
|
1223
|
+
* [K8s ResourceQuotaStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.32/#resourcequotastatus-v1-core).
|
|
1224
|
+
*
|
|
1225
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
1226
|
+
*/
|
|
1227
|
+
export const METRIC_K8S_RESOURCEQUOTA_MEMORY_REQUEST_HARD = 'k8s.resourcequota.memory.request.hard';
|
|
1228
|
+
/**
|
|
1229
|
+
* The memory requests in a specific namespace.
|
|
1230
|
+
* The value represents the current observed total usage of the resource in the namespace.
|
|
1231
|
+
*
|
|
1232
|
+
* @note This metric is retrieved from the `used` field of the
|
|
1233
|
+
* [K8s ResourceQuotaStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.32/#resourcequotastatus-v1-core).
|
|
1234
|
+
*
|
|
1235
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
1236
|
+
*/
|
|
1237
|
+
export const METRIC_K8S_RESOURCEQUOTA_MEMORY_REQUEST_USED = 'k8s.resourcequota.memory.request.used';
|
|
1238
|
+
/**
|
|
1239
|
+
* The object count limits in a specific namespace.
|
|
1240
|
+
* The value represents the configured quota limit of the resource in the namespace.
|
|
1241
|
+
*
|
|
1242
|
+
* @note This metric is retrieved from the `hard` field of the
|
|
1243
|
+
* [K8s ResourceQuotaStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.32/#resourcequotastatus-v1-core).
|
|
1244
|
+
*
|
|
1245
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
1246
|
+
*/
|
|
1247
|
+
export const METRIC_K8S_RESOURCEQUOTA_OBJECT_COUNT_HARD = 'k8s.resourcequota.object_count.hard';
|
|
1248
|
+
/**
|
|
1249
|
+
* The object count limits in a specific namespace.
|
|
1250
|
+
* The value represents the current observed total usage of the resource in the namespace.
|
|
1251
|
+
*
|
|
1252
|
+
* @note This metric is retrieved from the `used` field of the
|
|
1253
|
+
* [K8s ResourceQuotaStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.32/#resourcequotastatus-v1-core).
|
|
1254
|
+
*
|
|
1255
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
1256
|
+
*/
|
|
1257
|
+
export const METRIC_K8S_RESOURCEQUOTA_OBJECT_COUNT_USED = 'k8s.resourcequota.object_count.used';
|
|
1258
|
+
/**
|
|
1259
|
+
* The total number of PersistentVolumeClaims that can exist in the namespace.
|
|
1260
|
+
* The value represents the configured quota limit of the resource in the namespace.
|
|
1261
|
+
*
|
|
1262
|
+
* @note This metric is retrieved from the `hard` field of the
|
|
1263
|
+
* [K8s ResourceQuotaStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.32/#resourcequotastatus-v1-core).
|
|
1264
|
+
*
|
|
1265
|
+
* The `k8s.storageclass.name` should be required when a resource quota is defined for a specific
|
|
1266
|
+
* storage class.
|
|
1267
|
+
*
|
|
1268
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
1269
|
+
*/
|
|
1270
|
+
export const METRIC_K8S_RESOURCEQUOTA_PERSISTENTVOLUMECLAIM_COUNT_HARD = 'k8s.resourcequota.persistentvolumeclaim_count.hard';
|
|
1271
|
+
/**
|
|
1272
|
+
* The total number of PersistentVolumeClaims that can exist in the namespace.
|
|
1273
|
+
* The value represents the current observed total usage of the resource in the namespace.
|
|
1274
|
+
*
|
|
1275
|
+
* @note This metric is retrieved from the `used` field of the
|
|
1276
|
+
* [K8s ResourceQuotaStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.32/#resourcequotastatus-v1-core).
|
|
1277
|
+
*
|
|
1278
|
+
* The `k8s.storageclass.name` should be required when a resource quota is defined for a specific
|
|
1279
|
+
* storage class.
|
|
1280
|
+
*
|
|
1281
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
1282
|
+
*/
|
|
1283
|
+
export const METRIC_K8S_RESOURCEQUOTA_PERSISTENTVOLUMECLAIM_COUNT_USED = 'k8s.resourcequota.persistentvolumeclaim_count.used';
|
|
1284
|
+
/**
|
|
1285
|
+
* The storage requests in a specific namespace.
|
|
1286
|
+
* The value represents the configured quota limit of the resource in the namespace.
|
|
1287
|
+
*
|
|
1288
|
+
* @note This metric is retrieved from the `hard` field of the
|
|
1289
|
+
* [K8s ResourceQuotaStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.32/#resourcequotastatus-v1-core).
|
|
1290
|
+
*
|
|
1291
|
+
* The `k8s.storageclass.name` should be required when a resource quota is defined for a specific
|
|
1292
|
+
* storage class.
|
|
1293
|
+
*
|
|
1294
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
1295
|
+
*/
|
|
1296
|
+
export const METRIC_K8S_RESOURCEQUOTA_STORAGE_REQUEST_HARD = 'k8s.resourcequota.storage.request.hard';
|
|
1297
|
+
/**
|
|
1298
|
+
* The storage requests in a specific namespace.
|
|
1299
|
+
* The value represents the current observed total usage of the resource in the namespace.
|
|
1300
|
+
*
|
|
1301
|
+
* @note This metric is retrieved from the `used` field of the
|
|
1302
|
+
* [K8s ResourceQuotaStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.32/#resourcequotastatus-v1-core).
|
|
1303
|
+
*
|
|
1304
|
+
* The `k8s.storageclass.name` should be required when a resource quota is defined for a specific
|
|
1305
|
+
* storage class.
|
|
1306
|
+
*
|
|
1307
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
1308
|
+
*/
|
|
1309
|
+
export const METRIC_K8S_RESOURCEQUOTA_STORAGE_REQUEST_USED = 'k8s.resourcequota.storage.request.used';
|
|
987
1310
|
/**
|
|
988
1311
|
* The number of replica pods created by the statefulset controller from the statefulset version indicated by currentRevision
|
|
989
1312
|
*
|
|
990
1313
|
* @note This metric aligns with the `currentReplicas` field of the
|
|
991
1314
|
* [K8s StatefulSetStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#statefulsetstatus-v1-apps).
|
|
992
1315
|
*
|
|
993
|
-
* This metric **SHOULD**, at a minimum, be reported against a
|
|
994
|
-
* [`k8s.statefulset`](../resource/k8s.md#statefulset) resource.
|
|
995
|
-
*
|
|
996
1316
|
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
997
1317
|
*/
|
|
998
1318
|
export const METRIC_K8S_STATEFULSET_CURRENT_PODS = 'k8s.statefulset.current_pods';
|
|
@@ -1002,9 +1322,6 @@ export const METRIC_K8S_STATEFULSET_CURRENT_PODS = 'k8s.statefulset.current_pods
|
|
|
1002
1322
|
* @note This metric aligns with the `replicas` field of the
|
|
1003
1323
|
* [K8s StatefulSetSpec](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#statefulsetspec-v1-apps).
|
|
1004
1324
|
*
|
|
1005
|
-
* This metric **SHOULD**, at a minimum, be reported against a
|
|
1006
|
-
* [`k8s.statefulset`](../resource/k8s.md#statefulset) resource.
|
|
1007
|
-
*
|
|
1008
1325
|
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
1009
1326
|
*/
|
|
1010
1327
|
export const METRIC_K8S_STATEFULSET_DESIRED_PODS = 'k8s.statefulset.desired_pods';
|
|
@@ -1014,9 +1331,6 @@ export const METRIC_K8S_STATEFULSET_DESIRED_PODS = 'k8s.statefulset.desired_pods
|
|
|
1014
1331
|
* @note This metric aligns with the `readyReplicas` field of the
|
|
1015
1332
|
* [K8s StatefulSetStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#statefulsetstatus-v1-apps).
|
|
1016
1333
|
*
|
|
1017
|
-
* This metric **SHOULD**, at a minimum, be reported against a
|
|
1018
|
-
* [`k8s.statefulset`](../resource/k8s.md#statefulset) resource.
|
|
1019
|
-
*
|
|
1020
1334
|
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
1021
1335
|
*/
|
|
1022
1336
|
export const METRIC_K8S_STATEFULSET_READY_PODS = 'k8s.statefulset.ready_pods';
|
|
@@ -1026,9 +1340,6 @@ export const METRIC_K8S_STATEFULSET_READY_PODS = 'k8s.statefulset.ready_pods';
|
|
|
1026
1340
|
* @note This metric aligns with the `updatedReplicas` field of the
|
|
1027
1341
|
* [K8s StatefulSetStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#statefulsetstatus-v1-apps).
|
|
1028
1342
|
*
|
|
1029
|
-
* This metric **SHOULD**, at a minimum, be reported against a
|
|
1030
|
-
* [`k8s.statefulset`](../resource/k8s.md#statefulset) resource.
|
|
1031
|
-
*
|
|
1032
1343
|
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
1033
1344
|
*/
|
|
1034
1345
|
export const METRIC_K8S_STATEFULSET_UPDATED_PODS = 'k8s.statefulset.updated_pods';
|
|
@@ -1340,27 +1651,23 @@ export const METRIC_OTEL_SDK_PROCESSOR_SPAN_QUEUE_CAPACITY = 'otel.sdk.processor
|
|
|
1340
1651
|
*/
|
|
1341
1652
|
export const METRIC_OTEL_SDK_PROCESSOR_SPAN_QUEUE_SIZE = 'otel.sdk.processor.span.queue.size';
|
|
1342
1653
|
/**
|
|
1343
|
-
*
|
|
1344
|
-
*
|
|
1345
|
-
* @note For spans with `recording=true`: Implementations **MUST** record both `otel.sdk.span.live` and `otel.sdk.span.ended`.
|
|
1346
|
-
* For spans with `recording=false`: If implementations decide to record this metric, they **MUST** also record `otel.sdk.span.live`.
|
|
1654
|
+
* Use `otel.sdk.span.started` minus `otel.sdk.span.live` to derive this value.
|
|
1347
1655
|
*
|
|
1348
1656
|
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
1657
|
+
*
|
|
1658
|
+
* @deprecated Obsoleted.
|
|
1349
1659
|
*/
|
|
1350
1660
|
export const METRIC_OTEL_SDK_SPAN_ENDED = 'otel.sdk.span.ended';
|
|
1351
1661
|
/**
|
|
1352
|
-
*
|
|
1662
|
+
* Use `otel.sdk.span.started` minus `otel.sdk.span.live` to derive this value.
|
|
1353
1663
|
*
|
|
1354
1664
|
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
1355
1665
|
*
|
|
1356
|
-
* @deprecated
|
|
1666
|
+
* @deprecated Obsoleted.
|
|
1357
1667
|
*/
|
|
1358
1668
|
export const METRIC_OTEL_SDK_SPAN_ENDED_COUNT = 'otel.sdk.span.ended.count';
|
|
1359
1669
|
/**
|
|
1360
|
-
* The number of created spans for which the end operation has not been called yet
|
|
1361
|
-
*
|
|
1362
|
-
* @note For spans with `recording=true`: Implementations **MUST** record both `otel.sdk.span.live` and `otel.sdk.span.ended`.
|
|
1363
|
-
* For spans with `recording=false`: If implementations decide to record this metric, they **MUST** also record `otel.sdk.span.ended`.
|
|
1670
|
+
* The number of created spans with `recording=true` for which the end operation has not been called yet
|
|
1364
1671
|
*
|
|
1365
1672
|
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
1366
1673
|
*/
|
|
@@ -1373,6 +1680,14 @@ export const METRIC_OTEL_SDK_SPAN_LIVE = 'otel.sdk.span.live';
|
|
|
1373
1680
|
* @deprecated Replaced by `otel.sdk.span.live`.
|
|
1374
1681
|
*/
|
|
1375
1682
|
export const METRIC_OTEL_SDK_SPAN_LIVE_COUNT = 'otel.sdk.span.live.count';
|
|
1683
|
+
/**
|
|
1684
|
+
* The number of created spans
|
|
1685
|
+
*
|
|
1686
|
+
* @note Implementations **MUST** record this metric for all spans, even for non-recording ones.
|
|
1687
|
+
*
|
|
1688
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
1689
|
+
*/
|
|
1690
|
+
export const METRIC_OTEL_SDK_SPAN_STARTED = 'otel.sdk.span.started';
|
|
1376
1691
|
/**
|
|
1377
1692
|
* Number of times the process has been context switched.
|
|
1378
1693
|
*
|
|
@@ -1537,11 +1852,9 @@ export const METRIC_RPC_SERVER_RESPONSE_SIZE = 'rpc.server.response.size';
|
|
|
1537
1852
|
*/
|
|
1538
1853
|
export const METRIC_RPC_SERVER_RESPONSES_PER_RPC = 'rpc.server.responses_per_rpc';
|
|
1539
1854
|
/**
|
|
1540
|
-
*
|
|
1855
|
+
* Operating frequency of the logical CPU in Hertz.
|
|
1541
1856
|
*
|
|
1542
1857
|
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
1543
|
-
*
|
|
1544
|
-
* @deprecated Replaced by `cpu.frequency`.
|
|
1545
1858
|
*/
|
|
1546
1859
|
export const METRIC_SYSTEM_CPU_FREQUENCY = 'system.cpu.frequency';
|
|
1547
1860
|
/**
|
|
@@ -1559,19 +1872,15 @@ export const METRIC_SYSTEM_CPU_LOGICAL_COUNT = 'system.cpu.logical.count';
|
|
|
1559
1872
|
*/
|
|
1560
1873
|
export const METRIC_SYSTEM_CPU_PHYSICAL_COUNT = 'system.cpu.physical.count';
|
|
1561
1874
|
/**
|
|
1562
|
-
*
|
|
1875
|
+
* Seconds each logical CPU spent on each mode
|
|
1563
1876
|
*
|
|
1564
1877
|
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
1565
|
-
*
|
|
1566
|
-
* @deprecated Replaced by `cpu.time`.
|
|
1567
1878
|
*/
|
|
1568
1879
|
export const METRIC_SYSTEM_CPU_TIME = 'system.cpu.time';
|
|
1569
1880
|
/**
|
|
1570
|
-
*
|
|
1881
|
+
* For each logical CPU, the utilization is calculated as the change in cumulative CPU time (cpu.time) over a measurement interval, divided by the elapsed time.
|
|
1571
1882
|
*
|
|
1572
1883
|
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
1573
|
-
*
|
|
1574
|
-
* @deprecated Replaced by `cpu.utilization`.
|
|
1575
1884
|
*/
|
|
1576
1885
|
export const METRIC_SYSTEM_CPU_UTILIZATION = 'system.cpu.utilization';
|
|
1577
1886
|
/**
|
|
@@ -1690,6 +1999,14 @@ export const METRIC_SYSTEM_MEMORY_UTILIZATION = 'system.memory.utilization';
|
|
|
1690
1999
|
/**
|
|
1691
2000
|
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
1692
2001
|
*/
|
|
2002
|
+
export const METRIC_SYSTEM_NETWORK_CONNECTION_COUNT = 'system.network.connection.count';
|
|
2003
|
+
/**
|
|
2004
|
+
* Deprecated, use `system.network.connection.count` instead
|
|
2005
|
+
*
|
|
2006
|
+
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
2007
|
+
*
|
|
2008
|
+
* @deprecated Replaced by `system.network.connection.count`.
|
|
2009
|
+
*/
|
|
1693
2010
|
export const METRIC_SYSTEM_NETWORK_CONNECTIONS = 'system.network.connections';
|
|
1694
2011
|
/**
|
|
1695
2012
|
* Count of packets that are dropped or discarded even though there was no error
|