graphql-engine-1.0.0: GraphQL API over Postgres
Safe HaskellSafe-Inferred
LanguageHaskell2010

Hasura.RQL.Types.OpenTelemetry

Synopsis

User-facing configuration (metadata)

data OpenTelemetryConfigSubobject Source #

Subsets of the fields of OpenTelemetryConfig, serving as metadata object names for MetadataObjId.

Constructors

OtelSubobjectAll

The entire OpenTelemetry configuration

OtelSubobjectExporterOtlp 
OtelSubobjectBatchSpanProcessor 

Instances

Instances details
Generic OpenTelemetryConfigSubobject Source # 
Instance details

Defined in Hasura.RQL.Types.OpenTelemetry

Associated Types

type Rep OpenTelemetryConfigSubobject :: Type -> Type #

Show OpenTelemetryConfigSubobject Source # 
Instance details

Defined in Hasura.RQL.Types.OpenTelemetry

Eq OpenTelemetryConfigSubobject Source # 
Instance details

Defined in Hasura.RQL.Types.OpenTelemetry

Ord OpenTelemetryConfigSubobject Source # 
Instance details

Defined in Hasura.RQL.Types.OpenTelemetry

Hashable OpenTelemetryConfigSubobject Source # 
Instance details

Defined in Hasura.RQL.Types.OpenTelemetry

type Rep OpenTelemetryConfigSubobject Source # 
Instance details

Defined in Hasura.RQL.Types.OpenTelemetry

type Rep OpenTelemetryConfigSubobject = D1 ('MetaData "OpenTelemetryConfigSubobject" "Hasura.RQL.Types.OpenTelemetry" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "OtelSubobjectAll" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "OtelSubobjectExporterOtlp" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "OtelSubobjectBatchSpanProcessor" 'PrefixI 'False) (U1 :: Type -> Type)))

data OtelStatus Source #

Should the OpenTelemetry exporter be enabled?

Constructors

OtelEnabled 
OtelDisabled 

Instances

Instances details
FromJSON OtelStatus Source # 
Instance details

Defined in Hasura.RQL.Types.OpenTelemetry

ToJSON OtelStatus Source # 
Instance details

Defined in Hasura.RQL.Types.OpenTelemetry

HasCodec OtelStatus Source # 
Instance details

Defined in Hasura.RQL.Types.OpenTelemetry

Bounded OtelStatus Source # 
Instance details

Defined in Hasura.RQL.Types.OpenTelemetry

Enum OtelStatus Source # 
Instance details

Defined in Hasura.RQL.Types.OpenTelemetry

Show OtelStatus Source # 
Instance details

Defined in Hasura.RQL.Types.OpenTelemetry

Eq OtelStatus Source # 
Instance details

Defined in Hasura.RQL.Types.OpenTelemetry

data OtelDataType Source #

Constructors

OtelTraces 

Instances

Instances details
FromJSON OtelDataType Source # 
Instance details

Defined in Hasura.RQL.Types.OpenTelemetry

ToJSON OtelDataType Source # 
Instance details

Defined in Hasura.RQL.Types.OpenTelemetry

HasCodec OtelDataType Source # 
Instance details

Defined in Hasura.RQL.Types.OpenTelemetry

Bounded OtelDataType Source # 
Instance details

Defined in Hasura.RQL.Types.OpenTelemetry

Enum OtelDataType Source # 
Instance details

Defined in Hasura.RQL.Types.OpenTelemetry

Show OtelDataType Source # 
Instance details

Defined in Hasura.RQL.Types.OpenTelemetry

Eq OtelDataType Source # 
Instance details

Defined in Hasura.RQL.Types.OpenTelemetry

Ord OtelDataType Source # 
Instance details

Defined in Hasura.RQL.Types.OpenTelemetry

data OtelExporterConfig Source #

Constructors

OtelExporterConfig 

Fields

data OtlpProtocol Source #

Possible protocol to use with OTLP. Currently, only http/protobuf is supported.

Instances

Instances details
FromJSON OtlpProtocol Source # 
Instance details

Defined in Hasura.RQL.Types.OpenTelemetry

ToJSON OtlpProtocol Source # 
Instance details

Defined in Hasura.RQL.Types.OpenTelemetry

HasCodec OtlpProtocol Source # 
Instance details

Defined in Hasura.RQL.Types.OpenTelemetry

Bounded OtlpProtocol Source # 
Instance details

Defined in Hasura.RQL.Types.OpenTelemetry

Enum OtlpProtocol Source # 
Instance details

Defined in Hasura.RQL.Types.OpenTelemetry

Show OtlpProtocol Source # 
Instance details

Defined in Hasura.RQL.Types.OpenTelemetry

Eq OtlpProtocol Source # 
Instance details

Defined in Hasura.RQL.Types.OpenTelemetry

newtype OtelBatchSpanProcessorConfig Source #

Constructors

OtelBatchSpanProcessorConfig 

Fields

  • _obspcMaxExportBatchSize :: Int

    The maximum batch size of every export. It must be smaller or equal to maxQueueSize (not yet configurable). Default 512.

Parsed configuration (schema cache)

data OpenTelemetryInfo Source #

Schema cache configuration for all OpenTelemetry-related features

Constructors

OpenTelemetryInfo 

Fields

data OtelExporterInfo Source #

Constructors

OtelExporterInfo 

Fields

  • _oteleiTracesBaseRequest :: Request

    HTTP Request containing (1) the target URL to which the exporter is going to send spans, and (2) the user-specified request headers.

  • _oteleiResourceAttributes :: Map Text Text

    Attributes to send as the resource attributes of an export request. We currently only support string-valued attributes.

    Using Data.Map.Strict over Data.Hashmap.Strict because currently the only operations on data are (1) folding and (2) union with a small map of default attributes, and Map should be is faster than HashMap for the latter.

data OtelBatchSpanProcessorInfo Source #

Constructors

OtelBatchSpanProcessorInfo 

Fields

  • _obspiMaxExportBatchSize :: Int

    The maximum batch size of every export. It must be smaller or equal to maxQueueSize. Default 512.

  • _obspiMaxQueueSize :: Int

    The maximum span queue size. After the size is reached spans are dropped. Default 2048.