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

org.opensearch.telemetry.Telemetry Maven / Gradle / Ivy

The newest version!
/*
 * SPDX-License-Identifier: Apache-2.0
 *
 * The OpenSearch Contributors require contributions made to
 * this file be licensed under the Apache-2.0 license or a
 * compatible open source license.
 */

package org.opensearch.telemetry;

import org.opensearch.common.annotation.ExperimentalApi;
import org.opensearch.telemetry.metrics.MetricsTelemetry;
import org.opensearch.telemetry.tracing.TracingTelemetry;

/**
 * Interface defining telemetry
 *
 * @opensearch.experimental
 */
@ExperimentalApi
public interface Telemetry {

    /**
     * Provides tracing telemetry
     * @return tracing telemetry instance
     */
    TracingTelemetry getTracingTelemetry();

    /**
     * Provides metrics telemetry
     * @return metrics telemetry instance
     */
    MetricsTelemetry getMetricsTelemetry();

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy