package opentelemetry

  1. Overview
  2. Docs
Instrumentation for https://opentelemetry.io

Install

Dune Dependency

Authors

Maintainers

Sources

opentelemetry-0.11.1.tbz
sha256=0e289b62046daba6427d87276dba52c7d2adfc3d85723d29b3d97141ae522853
sha512=754ef48ee2883f5927dd0e6dcc28dfb2d8faee98be5952578f48515f58898063b6bc7a137bc68d9fbee2e5a8897c7af035e700e53ff202a6df79e74e1aeaf6d4

doc/opentelemetry.proto/Opentelemetry_proto/Resource/index.html

Module Opentelemetry_proto.ResourceSource

Code for resource.proto

Types

Sourcetype resource = {
  1. attributes : Common.key_value list;
  2. dropped_attributes_count : int32;
}

Basic values

Sourceval default_resource : ?attributes:Common.key_value list -> ?dropped_attributes_count:int32 -> unit -> resource

default_resource () is the default value for type resource

Make functions

Sourceval make_resource : attributes:Common.key_value list -> dropped_attributes_count:int32 -> unit -> resource

make_resource … () is a builder for type resource

Formatters

Sourceval pp_resource : Format.formatter -> resource -> unit

pp_resource v formats v

Protobuf Encoding

Sourceval encode_pb_resource : resource -> Pbrt.Encoder.t -> unit

encode_pb_resource v encoder encodes v with the given encoder

Protobuf Decoding

Sourceval decode_pb_resource : Pbrt.Decoder.t -> resource

decode_pb_resource decoder decodes a resource binary value from decoder

OCaml

Innovation. Community. Security.