| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778 |
- /*
- * Copyright The OpenTelemetry Authors
- * SPDX-License-Identifier: Apache-2.0
- */
- /*
- * DO NOT EDIT, this is an Auto-generated file from:
- * buildscripts/semantic-convention/templates/registry/semantic_attributes-h.j2
- */
- #pragma once
- #include "opentelemetry/common/macros.h"
- #include "opentelemetry/version.h"
- OPENTELEMETRY_BEGIN_NAMESPACE
- namespace semconv
- {
- namespace cpu
- {
- /**
- The logical CPU number [0..n-1]
- */
- static constexpr const char *kCpuLogicalNumber = "cpu.logical_number";
- /**
- The mode of the CPU
- */
- static constexpr const char *kCpuMode = "cpu.mode";
- namespace CpuModeValues
- {
- /**
- none
- */
- static constexpr const char *kUser = "user";
- /**
- none
- */
- static constexpr const char *kSystem = "system";
- /**
- none
- */
- static constexpr const char *kNice = "nice";
- /**
- none
- */
- static constexpr const char *kIdle = "idle";
- /**
- none
- */
- static constexpr const char *kIowait = "iowait";
- /**
- none
- */
- static constexpr const char *kInterrupt = "interrupt";
- /**
- none
- */
- static constexpr const char *kSteal = "steal";
- /**
- none
- */
- static constexpr const char *kKernel = "kernel";
- } // namespace CpuModeValues
- } // namespace cpu
- } // namespace semconv
- OPENTELEMETRY_END_NAMESPACE
|