1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259
|
/*
* 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 system
{
/**
Deprecated, use @code cpu.logical_number @endcode instead.
*/
static constexpr const char *kSystemCpuLogicalNumber = "system.cpu.logical_number";
/**
Deprecated, use @code cpu.mode @endcode instead.
@deprecated
{"note": "Replaced by @code cpu.mode @endcode.", "reason": "renamed", "renamed_to": "cpu.mode"}
*/
OPENTELEMETRY_DEPRECATED static constexpr const char *kSystemCpuState = "system.cpu.state";
/**
The device identifier
*/
static constexpr const char *kSystemDevice = "system.device";
/**
The filesystem mode
*/
static constexpr const char *kSystemFilesystemMode = "system.filesystem.mode";
/**
The filesystem mount path
*/
static constexpr const char *kSystemFilesystemMountpoint = "system.filesystem.mountpoint";
/**
The filesystem state
*/
static constexpr const char *kSystemFilesystemState = "system.filesystem.state";
/**
The filesystem type
*/
static constexpr const char *kSystemFilesystemType = "system.filesystem.type";
/**
The memory state
*/
static constexpr const char *kSystemMemoryState = "system.memory.state";
/**
Deprecated, use @code network.connection.state @endcode instead.
@deprecated
{"note": "Replaced by @code network.connection.state @endcode.", "reason": "renamed",
"renamed_to": "network.connection.state"}
*/
OPENTELEMETRY_DEPRECATED static constexpr const char *kSystemNetworkState = "system.network.state";
/**
The paging access direction
*/
static constexpr const char *kSystemPagingDirection = "system.paging.direction";
/**
The memory paging state
*/
static constexpr const char *kSystemPagingState = "system.paging.state";
/**
The memory paging type
*/
static constexpr const char *kSystemPagingType = "system.paging.type";
/**
The process state, e.g., <a
href="https://man7.org/linux/man-pages/man1/ps.1.html#PROCESS_STATE_CODES">Linux Process State
Codes</a>
*/
static constexpr const char *kSystemProcessStatus = "system.process.status";
/**
Deprecated, use @code system.process.status @endcode instead.
@deprecated
{"note": "Replaced by @code system.process.status @endcode.", "reason": "renamed", "renamed_to":
"system.process.status"}
*/
OPENTELEMETRY_DEPRECATED static constexpr const char *kSystemProcessesStatus =
"system.processes.status";
namespace SystemCpuStateValues
{
static constexpr const char *kUser = "user";
static constexpr const char *kSystem = "system";
static constexpr const char *kNice = "nice";
static constexpr const char *kIdle = "idle";
static constexpr const char *kIowait = "iowait";
static constexpr const char *kInterrupt = "interrupt";
static constexpr const char *kSteal = "steal";
} // namespace SystemCpuStateValues
namespace SystemFilesystemStateValues
{
static constexpr const char *kUsed = "used";
static constexpr const char *kFree = "free";
static constexpr const char *kReserved = "reserved";
} // namespace SystemFilesystemStateValues
namespace SystemFilesystemTypeValues
{
static constexpr const char *kFat32 = "fat32";
static constexpr const char *kExfat = "exfat";
static constexpr const char *kNtfs = "ntfs";
static constexpr const char *kRefs = "refs";
static constexpr const char *kHfsplus = "hfsplus";
static constexpr const char *kExt4 = "ext4";
} // namespace SystemFilesystemTypeValues
namespace SystemMemoryStateValues
{
/**
Actual used virtual memory in bytes.
*/
static constexpr const char *kUsed = "used";
static constexpr const char *kFree = "free";
/**
@deprecated
{"note": "Removed, report shared memory usage with @code metric.system.memory.shared @endcode
metric", "reason": "uncategorized"}
*/
OPENTELEMETRY_DEPRECATED static constexpr const char *kShared = "shared";
static constexpr const char *kBuffers = "buffers";
static constexpr const char *kCached = "cached";
} // namespace SystemMemoryStateValues
namespace SystemNetworkStateValues
{
static constexpr const char *kClose = "close";
static constexpr const char *kCloseWait = "close_wait";
static constexpr const char *kClosing = "closing";
static constexpr const char *kDelete = "delete";
static constexpr const char *kEstablished = "established";
static constexpr const char *kFinWait1 = "fin_wait_1";
static constexpr const char *kFinWait2 = "fin_wait_2";
static constexpr const char *kLastAck = "last_ack";
static constexpr const char *kListen = "listen";
static constexpr const char *kSynRecv = "syn_recv";
static constexpr const char *kSynSent = "syn_sent";
static constexpr const char *kTimeWait = "time_wait";
} // namespace SystemNetworkStateValues
namespace SystemPagingDirectionValues
{
static constexpr const char *kIn = "in";
static constexpr const char *kOut = "out";
} // namespace SystemPagingDirectionValues
namespace SystemPagingStateValues
{
static constexpr const char *kUsed = "used";
static constexpr const char *kFree = "free";
} // namespace SystemPagingStateValues
namespace SystemPagingTypeValues
{
static constexpr const char *kMajor = "major";
static constexpr const char *kMinor = "minor";
} // namespace SystemPagingTypeValues
namespace SystemProcessStatusValues
{
static constexpr const char *kRunning = "running";
static constexpr const char *kSleeping = "sleeping";
static constexpr const char *kStopped = "stopped";
static constexpr const char *kDefunct = "defunct";
} // namespace SystemProcessStatusValues
namespace SystemProcessesStatusValues
{
static constexpr const char *kRunning = "running";
static constexpr const char *kSleeping = "sleeping";
static constexpr const char *kStopped = "stopped";
static constexpr const char *kDefunct = "defunct";
} // namespace SystemProcessesStatusValues
} // namespace system
} // namespace semconv
OPENTELEMETRY_END_NAMESPACE
|