
io.opentelemetry.proto.collector.metrics.v1.MetricsService Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of open-telemetry-protocol Show documentation
Show all versions of open-telemetry-protocol Show documentation
Open Telemetry protocol for building storage integrations
The newest version!
// Generated by Pekko gRPC. DO NOT EDIT.
package io.opentelemetry.proto.collector.metrics.v1;
import org.apache.pekko.grpc.ProtobufSerializer;
import org.apache.pekko.grpc.javadsl.GoogleProtobufSerializer;
import org.apache.pekko.grpc.PekkoGrpcGenerated;
/**
* Service that can be used to push metrics between one Application
* instrumented with OpenTelemetry and a collector, or between a collector and a
* central collector.
*/
public interface MetricsService {
/**
* For performance reasons, it is recommended to keep this RPC
* alive for the entire life of the application.
*/
java.util.concurrent.CompletionStage export(io.opentelemetry.proto.collector.metrics.v1.ExportMetricsServiceRequest in);
static String name = "opentelemetry.proto.collector.metrics.v1.MetricsService";
static org.apache.pekko.grpc.ServiceDescription description = new org.apache.pekko.grpc.internal.ServiceDescriptionImpl(name, MetricsServiceProto.getDescriptor());
@PekkoGrpcGenerated
public static class Serializers {
public static ProtobufSerializer ExportMetricsServiceRequestSerializer = new GoogleProtobufSerializer<>(io.opentelemetry.proto.collector.metrics.v1.ExportMetricsServiceRequest.parser());
public static ProtobufSerializer ExportMetricsServiceResponseSerializer = new GoogleProtobufSerializer<>(io.opentelemetry.proto.collector.metrics.v1.ExportMetricsServiceResponse.parser());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy