ZeroTierOne/ext/opentelemetry-cpp-api-only/include/opentelemetry/semconv/incubating/cpython_attributes.h

48 lines
877 B
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 cpython
{
/**
Value of the garbage collector collection generation.
*/
static constexpr const char *kCpythonGcGeneration = "cpython.gc.generation";
namespace CpythonGcGenerationValues
{
/**
Generation 0
*/
static constexpr int kGeneration0 = 0;
/**
Generation 1
*/
static constexpr int kGeneration1 = 1;
/**
Generation 2
*/
static constexpr int kGeneration2 = 2;
} // namespace CpythonGcGenerationValues
} // namespace cpython
} // namespace semconv
OPENTELEMETRY_END_NAMESPACE