| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Hasura.Server.Telemetry.Types
Description
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 #
Constructors
| RelationshipMetric | |
Instances
| Eq RelationshipMetric Source # | |
Defined in Hasura.Server.Telemetry.Types Methods (==) :: RelationshipMetric -> RelationshipMetric -> Bool # (/=) :: RelationshipMetric -> RelationshipMetric -> Bool # | |
| Show RelationshipMetric Source # | |
Defined in Hasura.Server.Telemetry.Types Methods showsPrec :: Int -> RelationshipMetric -> ShowS # show :: RelationshipMetric -> String # showList :: [RelationshipMetric] -> ShowS # | |
| ToJSON RelationshipMetric Source # | |
Defined in Hasura.Server.Telemetry.Types Methods toJSON :: RelationshipMetric -> Value toEncoding :: RelationshipMetric -> Encoding toJSONList :: [RelationshipMetric] -> Value toEncodingList :: [RelationshipMetric] -> Encoding | |
data PermissionMetric Source #
Constructors
| PermissionMetric | |
Instances
| Eq PermissionMetric Source # | |
Defined in Hasura.Server.Telemetry.Types Methods (==) :: PermissionMetric -> PermissionMetric -> Bool # (/=) :: PermissionMetric -> PermissionMetric -> Bool # | |
| Show PermissionMetric Source # | |
Defined in Hasura.Server.Telemetry.Types Methods showsPrec :: Int -> PermissionMetric -> ShowS # show :: PermissionMetric -> String # showList :: [PermissionMetric] -> ShowS # | |
| ToJSON PermissionMetric Source # | |
Defined in Hasura.Server.Telemetry.Types Methods toJSON :: PermissionMetric -> Value toEncoding :: PermissionMetric -> Encoding toJSONList :: [PermissionMetric] -> Value toEncodingList :: [PermissionMetric] -> Encoding | |
data ActionMetric Source #
Constructors
| ActionMetric | |
Fields
| |
Instances
| Eq ActionMetric Source # | |
Defined in Hasura.Server.Telemetry.Types | |
| Show ActionMetric Source # | |
Defined in Hasura.Server.Telemetry.Types Methods showsPrec :: Int -> ActionMetric -> ShowS # show :: ActionMetric -> String # showList :: [ActionMetric] -> ShowS # | |
| ToJSON ActionMetric Source # | |
Defined in Hasura.Server.Telemetry.Types Methods toJSON :: ActionMetric -> Value toEncoding :: ActionMetric -> Encoding toJSONList :: [ActionMetric] -> Value toEncodingList :: [ActionMetric] -> Encoding | |
Constructors
| Metrics | |
Fields | |
Instances
| Eq Metrics Source # | |
| Show Metrics Source # | |
| ToJSON Metrics Source # | |
Defined in Hasura.Server.Telemetry.Types Methods toEncoding :: Metrics -> Encoding toJSONList :: [Metrics] -> Value toEncodingList :: [Metrics] -> Encoding | |
data SourceMetadata Source #
Constructors
| SourceMetadata | |
Fields
| |
Instances
| Eq SourceMetadata Source # | |
Defined in Hasura.Server.Telemetry.Types Methods (==) :: SourceMetadata -> SourceMetadata -> Bool # (/=) :: SourceMetadata -> SourceMetadata -> Bool # | |
| Show SourceMetadata Source # | |
Defined in Hasura.Server.Telemetry.Types Methods showsPrec :: Int -> SourceMetadata -> ShowS # show :: SourceMetadata -> String # showList :: [SourceMetadata] -> ShowS # | |
| ToJSON SourceMetadata Source # | |
Defined in Hasura.Server.Telemetry.Types Methods toJSON :: SourceMetadata -> Value toEncoding :: SourceMetadata -> Encoding toJSONList :: [SourceMetadata] -> Value toEncodingList :: [SourceMetadata] -> Encoding | |
data HasuraTelemetry Source #
Constructors
| HasuraTelemetry | |
Fields | |
Instances
| Show HasuraTelemetry Source # | |
Defined in Hasura.Server.Telemetry.Types Methods showsPrec :: Int -> HasuraTelemetry -> ShowS # show :: HasuraTelemetry -> String # showList :: [HasuraTelemetry] -> ShowS # | |
| ToJSON HasuraTelemetry Source # | |
Defined in Hasura.Server.Telemetry.Types Methods 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 | |
| ToJSON Topic Source # | |
Defined in Hasura.Server.Telemetry.Types Methods toEncoding :: Topic -> Encoding toJSONList :: [Topic] -> Value toEncodingList :: [Topic] -> Encoding | |
data TelemetryPayload Source #
Constructors
| TelemetryPayload | |
Fields
| |
Instances
| Show TelemetryPayload Source # | |
Defined in Hasura.Server.Telemetry.Types Methods showsPrec :: Int -> TelemetryPayload -> ShowS # show :: TelemetryPayload -> String # showList :: [TelemetryPayload] -> ShowS # | |
| ToJSON TelemetryPayload Source # | |
Defined in Hasura.Server.Telemetry.Types Methods toJSON :: TelemetryPayload -> Value toEncoding :: TelemetryPayload -> Encoding toJSONList :: [TelemetryPayload] -> Value toEncodingList :: [TelemetryPayload] -> Encoding | |