mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-09-09 16:22:54 +02:00
78 lines
1.2 KiB
C++
78 lines
1.2 KiB
C++
/*
|
|
* 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
|