You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
78 lines
1.2 KiB
78 lines
1.2 KiB
/* |
|
* 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
|
|
|