All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.opentelemetry.contrib.metrics.micrometer.internal.Constants Maven / Gradle / Ivy

There is a newer version: 1.42.0-alpha
Show newest version
/*
 * Copyright The OpenTelemetry Authors
 * SPDX-License-Identifier: Apache-2.0
 */

package io.opentelemetry.contrib.metrics.micrometer.internal;

import io.micrometer.core.instrument.Tag;

/**
 * Constants for common Micrometer {@link Tag} names for the OpenTelemetry instrumentation scope.
 *
 * 

This class is internal and is hence not for public use. Its APIs are unstable and can change * at any time. */ public final class Constants { public static final String OTEL_INSTRUMENTATION_NAME = "otel.instrumentation.name"; public static final String OTEL_INSTRUMENTATION_VERSION = "otel.instrumentation.version"; public static final Tag UNKNOWN_INSTRUMENTATION_VERSION_TAG = Tag.of(OTEL_INSTRUMENTATION_VERSION, "unknown"); private Constants() {} }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy