Safe Haskell | None |
---|---|
Language | Haskell2010 |
Telemetry types
Define anonymized metrics regarding usage of various features of Hasura.
Synopsis
- data RelationshipMetric = RelationshipMetric {}
- data PermissionMetric = PermissionMetric {}
- data ActionMetric = ActionMetric {}
- data Metrics = Metrics {}
- data SourceMetadata = SourceMetadata {}
- data HasuraTelemetry = HasuraTelemetry {}
- newtype Topic = Topic {
- getTopic :: Text
- data TelemetryPayload = TelemetryPayload {}
Documentation
data RelationshipMetric Source #
Instances
Eq RelationshipMetric Source # | |
Defined in Hasura.Server.Telemetry.Types (==) :: RelationshipMetric -> RelationshipMetric -> Bool # (/=) :: RelationshipMetric -> RelationshipMetric -> Bool # | |
Show RelationshipMetric Source # | |
Defined in Hasura.Server.Telemetry.Types showsPrec :: Int -> RelationshipMetric -> ShowS # show :: RelationshipMetric -> String # showList :: [RelationshipMetric] -> ShowS # | |
ToJSON RelationshipMetric Source # | |
Defined in Hasura.Server.Telemetry.Types toJSON :: RelationshipMetric -> Value toEncoding :: RelationshipMetric -> Encoding toJSONList :: [RelationshipMetric] -> Value toEncodingList :: [RelationshipMetric] -> Encoding |
data PermissionMetric Source #
Instances
Eq PermissionMetric Source # | |
Defined in Hasura.Server.Telemetry.Types (==) :: PermissionMetric -> PermissionMetric -> Bool # (/=) :: PermissionMetric -> PermissionMetric -> Bool # | |
Show PermissionMetric Source # | |
Defined in Hasura.Server.Telemetry.Types showsPrec :: Int -> PermissionMetric -> ShowS # show :: PermissionMetric -> String # showList :: [PermissionMetric] -> ShowS # | |
ToJSON PermissionMetric Source # | |
Defined in Hasura.Server.Telemetry.Types toJSON :: PermissionMetric -> Value toEncoding :: PermissionMetric -> Encoding toJSONList :: [PermissionMetric] -> Value toEncodingList :: [PermissionMetric] -> Encoding |
data ActionMetric Source #
ActionMetric | |
|
Instances
Eq ActionMetric Source # | |
Defined in Hasura.Server.Telemetry.Types (==) :: ActionMetric -> ActionMetric -> Bool # (/=) :: ActionMetric -> ActionMetric -> Bool # | |
Show ActionMetric Source # | |
Defined in Hasura.Server.Telemetry.Types showsPrec :: Int -> ActionMetric -> ShowS # show :: ActionMetric -> String # showList :: [ActionMetric] -> ShowS # | |
ToJSON ActionMetric Source # | |
Defined in Hasura.Server.Telemetry.Types toJSON :: ActionMetric -> Value toEncoding :: ActionMetric -> Encoding toJSONList :: [ActionMetric] -> Value toEncodingList :: [ActionMetric] -> Encoding |
Instances
Eq Metrics Source # | |
Show Metrics Source # | |
ToJSON Metrics Source # | |
Defined in Hasura.Server.Telemetry.Types toEncoding :: Metrics -> Encoding toJSONList :: [Metrics] -> Value toEncodingList :: [Metrics] -> Encoding |
data SourceMetadata Source #
Instances
Eq SourceMetadata Source # | |
Defined in Hasura.Server.Telemetry.Types (==) :: SourceMetadata -> SourceMetadata -> Bool # (/=) :: SourceMetadata -> SourceMetadata -> Bool # | |
Show SourceMetadata Source # | |
Defined in Hasura.Server.Telemetry.Types showsPrec :: Int -> SourceMetadata -> ShowS # show :: SourceMetadata -> String # showList :: [SourceMetadata] -> ShowS # | |
ToJSON SourceMetadata Source # | |
Defined in Hasura.Server.Telemetry.Types toJSON :: SourceMetadata -> Value toEncoding :: SourceMetadata -> Encoding toJSONList :: [SourceMetadata] -> Value toEncodingList :: [SourceMetadata] -> Encoding |
data HasuraTelemetry Source #
Instances
Show HasuraTelemetry Source # | |
Defined in Hasura.Server.Telemetry.Types showsPrec :: Int -> HasuraTelemetry -> ShowS # show :: HasuraTelemetry -> String # showList :: [HasuraTelemetry] -> ShowS # | |
ToJSON HasuraTelemetry Source # | |
Defined in Hasura.Server.Telemetry.Types toJSON :: HasuraTelemetry -> Value toEncoding :: HasuraTelemetry -> Encoding toJSONList :: [HasuraTelemetry] -> Value toEncodingList :: [HasuraTelemetry] -> Encoding |
The telemetry table to which we'll add telemetry.
Instances
Eq Topic Source # | |
Show Topic Source # | |
FromJSON Topic Source # | |
Defined in Hasura.Server.Telemetry.Types parseJSON :: Value -> Parser Topic parseJSONList :: Value -> Parser [Topic] | |
ToJSON Topic Source # | |
Defined in Hasura.Server.Telemetry.Types |
data TelemetryPayload Source #
Instances
Show TelemetryPayload Source # | |
Defined in Hasura.Server.Telemetry.Types showsPrec :: Int -> TelemetryPayload -> ShowS # show :: TelemetryPayload -> String # showList :: [TelemetryPayload] -> ShowS # | |
ToJSON TelemetryPayload Source # | |
Defined in Hasura.Server.Telemetry.Types toJSON :: TelemetryPayload -> Value toEncoding :: TelemetryPayload -> Encoding toJSONList :: [TelemetryPayload] -> Value toEncodingList :: [TelemetryPayload] -> Encoding |