Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data OpenTelemetryConfig = OpenTelemetryConfig {}
- emptyOpenTelemetryConfig :: OpenTelemetryConfig
- data OpenTelemetryConfigSubobject
- data OtelStatus
- data OtelDataType = OtelTraces
- data OtelExporterConfig = OtelExporterConfig {}
- defaultOtelExporterConfig :: OtelExporterConfig
- data OtlpProtocol = OtlpProtocolHttpProtobuf
- data NameValue = NameValue {}
- newtype OtelBatchSpanProcessorConfig = OtelBatchSpanProcessorConfig {}
- defaultOtelBatchSpanProcessorConfig :: OtelBatchSpanProcessorConfig
- ocStatus :: Lens' OpenTelemetryConfig OtelStatus
- ocExporterOtlp :: Lens' OpenTelemetryConfig OtelExporterConfig
- ocEnabledDataTypes :: Lens' OpenTelemetryConfig (Set OtelDataType)
- ocBatchSpanProcessor :: Lens' OpenTelemetryConfig OtelBatchSpanProcessorConfig
- data OpenTelemetryInfo = OpenTelemetryInfo {}
- emptyOpenTelemetryInfo :: OpenTelemetryInfo
- data OtelExporterInfo = OtelExporterInfo {}
- getOtelExporterTracesBaseRequest :: OtelExporterInfo -> Request
- getOtelExporterResourceAttributes :: OtelExporterInfo -> Map Text Text
- data OtelBatchSpanProcessorInfo = OtelBatchSpanProcessorInfo {}
- getMaxExportBatchSize :: OtelBatchSpanProcessorInfo -> Int
- getMaxQueueSize :: OtelBatchSpanProcessorInfo -> Int
- defaultOtelBatchSpanProcessorInfo :: OtelBatchSpanProcessorInfo
- otiExporterOtlp :: Lens' OpenTelemetryInfo (Maybe OtelExporterInfo)
- otiBatchSpanProcessor :: Lens' OpenTelemetryInfo (Maybe OtelBatchSpanProcessorInfo)
User-facing configuration (metadata)
data OpenTelemetryConfig Source #
Metadata configuration for all OpenTelemetry-related features
Instances
FromJSON OpenTelemetryConfig Source # | |
Defined in Hasura.RQL.Types.OpenTelemetry parseJSON :: Value -> Parser OpenTelemetryConfig Source # parseJSONList :: Value -> Parser [OpenTelemetryConfig] Source # | |
HasCodec OpenTelemetryConfig Source # | |
Show OpenTelemetryConfig Source # | |
Defined in Hasura.RQL.Types.OpenTelemetry showsPrec :: Int -> OpenTelemetryConfig -> ShowS # show :: OpenTelemetryConfig -> String # showList :: [OpenTelemetryConfig] -> ShowS # | |
Eq OpenTelemetryConfig Source # | |
Defined in Hasura.RQL.Types.OpenTelemetry (==) :: OpenTelemetryConfig -> OpenTelemetryConfig -> Bool # (/=) :: OpenTelemetryConfig -> OpenTelemetryConfig -> Bool # |
data OpenTelemetryConfigSubobject Source #
Subsets of the fields of OpenTelemetryConfig
, serving as metadata object
names for MetadataObjId
.
OtelSubobjectAll | The entire OpenTelemetry configuration |
OtelSubobjectExporterOtlp | |
OtelSubobjectBatchSpanProcessor |
Instances
data OtelStatus Source #
Should the OpenTelemetry exporter be enabled?
Instances
data OtelDataType Source #
Instances
data OtelExporterConfig Source #
OtelExporterConfig | |
|
Instances
FromJSON OtelExporterConfig Source # | |
Defined in Hasura.RQL.Types.OpenTelemetry parseJSON :: Value -> Parser OtelExporterConfig Source # parseJSONList :: Value -> Parser [OtelExporterConfig] Source # | |
ToJSON OtelExporterConfig Source # | |
Defined in Hasura.RQL.Types.OpenTelemetry toJSON :: OtelExporterConfig -> Value Source # toEncoding :: OtelExporterConfig -> Encoding Source # toJSONList :: [OtelExporterConfig] -> Value Source # toEncodingList :: [OtelExporterConfig] -> Encoding Source # | |
HasCodec OtelExporterConfig Source # | |
Show OtelExporterConfig Source # | |
Defined in Hasura.RQL.Types.OpenTelemetry showsPrec :: Int -> OtelExporterConfig -> ShowS # show :: OtelExporterConfig -> String # showList :: [OtelExporterConfig] -> ShowS # | |
Eq OtelExporterConfig Source # | |
Defined in Hasura.RQL.Types.OpenTelemetry (==) :: OtelExporterConfig -> OtelExporterConfig -> Bool # (/=) :: OtelExporterConfig -> OtelExporterConfig -> Bool # |
data OtlpProtocol Source #
Possible protocol to use with OTLP. Currently, only http/protobuf is supported.
Instances
newtype OtelBatchSpanProcessorConfig Source #
OtelBatchSpanProcessorConfig | |
|
Instances
Parsed configuration (schema cache)
data OpenTelemetryInfo Source #
Schema cache configuration for all OpenTelemetry-related features
OpenTelemetryInfo | |
|
data OtelExporterInfo Source #
OtelExporterInfo | |
|
data OtelBatchSpanProcessorInfo Source #
OtelBatchSpanProcessorInfo | |
|
Instances
Lift OtelBatchSpanProcessorInfo Source # | |
Defined in Hasura.RQL.Types.OpenTelemetry lift :: Quote m => OtelBatchSpanProcessorInfo -> m Exp # liftTyped :: forall (m :: Type -> Type). Quote m => OtelBatchSpanProcessorInfo -> Code m OtelBatchSpanProcessorInfo # |