Sha256: 12615e986b68928c0e4cb818b745f108e1ffd38832e186c0b5af58c8b7b2b1f1

Contents?: true

Size: 1.4 KB

Versions: 9

Compression:

Stored size: 1.4 KB

Contents

# encoding: utf-8
# This file is distributed under New Relic's license terms.
# See https://github.com/newrelic/newrelic-ruby-agent/blob/main/LICENSE for complete details.
# frozen_string_literal: true

# Generated by the protocol buffer compiler.  DO NOT EDIT!
# Source: infinite_tracing.proto for package 'com.newrelic.trace.v1'
# Original file comments:
# encoding: utf-8
# This file is distributed under New Relic's license terms.
# See https://github.com/newrelic/newrelic-ruby-agent/blob/main/LICENSE for complete details.
#

module Com
  module Newrelic
    module Trace
      module V1
        module IngestService
          class Service
            include GRPC::GenericService

            self.marshal_class_method = :encode
            self.unmarshal_class_method = :decode
            self.service_name = 'com.newrelic.trace.v1.IngestService'

            # Accepts a stream of Span messages, and returns an irregular stream of
            # RecordStatus messages.
            rpc :RecordSpan, stream(Span), stream(RecordStatus)
            # Accepts a stream of SpanBatch messages, and returns an irregular
            # stream of RecordStatus messages. This endpoint can be used to improve
            # throughput when Span messages are small
            rpc :RecordSpanBatch, stream(SpanBatch), stream(RecordStatus)
          end

          Stub = Service.rpc_stub_class
        end
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
newrelic-infinite_tracing-8.10.1 lib/infinite_tracing/proto/infinite_tracing_services_pb.rb
newrelic-infinite_tracing-8.10.0 lib/infinite_tracing/proto/infinite_tracing_services_pb.rb
newrelic-infinite_tracing-8.9.0 lib/infinite_tracing/proto/infinite_tracing_services_pb.rb
newrelic-infinite_tracing-8.8.0 lib/infinite_tracing/proto/infinite_tracing_services_pb.rb
newrelic-infinite_tracing-8.7.0 lib/infinite_tracing/proto/infinite_tracing_services_pb.rb
newrelic-infinite_tracing-8.6.0 lib/infinite_tracing/proto/infinite_tracing_services_pb.rb
newrelic-infinite_tracing-8.5.0 lib/infinite_tracing/proto/infinite_tracing_services_pb.rb
newrelic-infinite_tracing-8.4.0 lib/infinite_tracing/proto/infinite_tracing_services_pb.rb
newrelic-infinite_tracing-8.3.0 lib/infinite_tracing/proto/infinite_tracing_services_pb.rb