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

io.opentelemetry.proto.collector.profiles.v1experimental.ProfilesService Maven / Gradle / Ivy

The newest version!

// Generated by Pekko gRPC. DO NOT EDIT.
package io.opentelemetry.proto.collector.profiles.v1experimental;

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 profiles between one Application instrumented with
 * OpenTelemetry and a collector, or between a collector and a central collector.
 */
public interface ProfilesService {
  
  /**
   * 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.profiles.v1experimental.ExportProfilesServiceRequest in);
  

  static String name = "opentelemetry.proto.collector.profiles.v1experimental.ProfilesService";
  static org.apache.pekko.grpc.ServiceDescription description = new org.apache.pekko.grpc.internal.ServiceDescriptionImpl(name, ProfilesServiceProto.getDescriptor());

  @PekkoGrpcGenerated
  public static class Serializers {
    
      public static ProtobufSerializer ExportProfilesServiceRequestSerializer = new GoogleProtobufSerializer<>(io.opentelemetry.proto.collector.profiles.v1experimental.ExportProfilesServiceRequest.parser());
    
      public static ProtobufSerializer ExportProfilesServiceResponseSerializer = new GoogleProtobufSerializer<>(io.opentelemetry.proto.collector.profiles.v1experimental.ExportProfilesServiceResponse.parser());
    
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy