struct OpenTelemetry::Proto::Collector::Metrics::V1::ExportMetricsServiceRequest
Included Modules
- Protobuf::Message
Defined in:
proto/metrics_service.pb.crConstant Summary
-
FIELDS =
{1 => {name: :resource_metrics, pb_type: OpenTelemetry::Proto::Metrics::V1::ResourceMetrics, crystal_type: OpenTelemetry::Proto::Metrics::V1::ResourceMetrics, cast_type: Array(OpenTelemetry::Proto::Metrics::V1::ResourceMetrics)?, native: false, optional: true, repeated: true, default: nil, packed: false}} of Int32 => HashLiteral(Symbol, ASTNode)
Constructors
- .new(buf : Protobuf::Buffer)
- .new(resource_metrics : Array(OpenTelemetry::Proto::Metrics::V1::ResourceMetrics) | Nil = nil)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #resource_metrics : Array(OpenTelemetry::Proto::Metrics::V1::ResourceMetrics) | Nil
- #resource_metrics=(resource_metrics : Array(OpenTelemetry::Proto::Metrics::V1::ResourceMetrics) | Nil)
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
Constructor Detail
def self.new(resource_metrics : Array(OpenTelemetry::Proto::Metrics::V1::ResourceMetrics) | Nil = nil)
#
Class Method Detail
Instance Method Detail
def resource_metrics=(resource_metrics : Array(OpenTelemetry::Proto::Metrics::V1::ResourceMetrics) | Nil)
#