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

Hasura.Server.Telemetry.Types

Description

Telemetry types

Define anonymized metrics regarding usage of various features of Hasura.

Synopsis

Documentation

data RelationshipMetric Source #

Constructors

RelationshipMetric 

Fields

Instances

Instances details
ToJSON RelationshipMetric Source # 
Instance details

Defined in Hasura.Server.Telemetry.Types

Generic RelationshipMetric Source # 
Instance details

Defined in Hasura.Server.Telemetry.Types

Associated Types

type Rep RelationshipMetric :: Type -> Type #

Show RelationshipMetric Source # 
Instance details

Defined in Hasura.Server.Telemetry.Types

Eq RelationshipMetric Source # 
Instance details

Defined in Hasura.Server.Telemetry.Types

type Rep RelationshipMetric Source # 
Instance details

Defined in Hasura.Server.Telemetry.Types

type Rep RelationshipMetric = D1 ('MetaData "RelationshipMetric" "Hasura.Server.Telemetry.Types" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "RelationshipMetric" 'PrefixI 'True) (S1 ('MetaSel ('Just "_rmManual") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "_rmAuto") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

data PermissionMetric Source #

Constructors

PermissionMetric 

Instances

Instances details
ToJSON PermissionMetric Source # 
Instance details

Defined in Hasura.Server.Telemetry.Types

Generic PermissionMetric Source # 
Instance details

Defined in Hasura.Server.Telemetry.Types

Associated Types

type Rep PermissionMetric :: Type -> Type #

Show PermissionMetric Source # 
Instance details

Defined in Hasura.Server.Telemetry.Types

Eq PermissionMetric Source # 
Instance details

Defined in Hasura.Server.Telemetry.Types

type Rep PermissionMetric Source # 
Instance details

Defined in Hasura.Server.Telemetry.Types

type Rep PermissionMetric = D1 ('MetaData "PermissionMetric" "Hasura.Server.Telemetry.Types" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "PermissionMetric" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_pmSelect") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "_pmInsert") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)) :*: (S1 ('MetaSel ('Just "_pmUpdate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: (S1 ('MetaSel ('Just "_pmDelete") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "_pmRoles") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

data ActionMetric Source #

Instances

Instances details
ToJSON ActionMetric Source # 
Instance details

Defined in Hasura.Server.Telemetry.Types

Generic ActionMetric Source # 
Instance details

Defined in Hasura.Server.Telemetry.Types

Associated Types

type Rep ActionMetric :: Type -> Type #

Show ActionMetric Source # 
Instance details

Defined in Hasura.Server.Telemetry.Types

Eq ActionMetric Source # 
Instance details

Defined in Hasura.Server.Telemetry.Types

type Rep ActionMetric Source # 
Instance details

Defined in Hasura.Server.Telemetry.Types

type Rep ActionMetric = D1 ('MetaData "ActionMetric" "Hasura.Server.Telemetry.Types" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "ActionMetric" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_amSynchronous") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "_amAsynchronous") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)) :*: (S1 ('MetaSel ('Just "_amQueryActions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: (S1 ('MetaSel ('Just "_amTypeRelationships") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "_amCustomTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

data NativeQueriesMetrics Source #

Instances

Instances details
ToJSON NativeQueriesMetrics Source # 
Instance details

Defined in Hasura.Server.Telemetry.Types

Monoid NativeQueriesMetrics Source # 
Instance details

Defined in Hasura.Server.Telemetry.Types

Semigroup NativeQueriesMetrics Source # 
Instance details

Defined in Hasura.Server.Telemetry.Types

Generic NativeQueriesMetrics Source # 
Instance details

Defined in Hasura.Server.Telemetry.Types

Associated Types

type Rep NativeQueriesMetrics :: Type -> Type #

Show NativeQueriesMetrics Source # 
Instance details

Defined in Hasura.Server.Telemetry.Types

Eq NativeQueriesMetrics Source # 
Instance details

Defined in Hasura.Server.Telemetry.Types

type Rep NativeQueriesMetrics Source # 
Instance details

Defined in Hasura.Server.Telemetry.Types

type Rep NativeQueriesMetrics = D1 ('MetaData "NativeQueriesMetrics" "Hasura.Server.Telemetry.Types" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "NativeQueriesMetrics" 'PrefixI 'True) (S1 ('MetaSel ('Just "_nqmWithParameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "_nqmWithoutParameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

data StoredProceduresMetrics Source #

Instances

Instances details
ToJSON StoredProceduresMetrics Source # 
Instance details

Defined in Hasura.Server.Telemetry.Types

Monoid StoredProceduresMetrics Source # 
Instance details

Defined in Hasura.Server.Telemetry.Types

Semigroup StoredProceduresMetrics Source # 
Instance details

Defined in Hasura.Server.Telemetry.Types

Generic StoredProceduresMetrics Source # 
Instance details

Defined in Hasura.Server.Telemetry.Types

Associated Types

type Rep StoredProceduresMetrics :: Type -> Type #

Show StoredProceduresMetrics Source # 
Instance details

Defined in Hasura.Server.Telemetry.Types

Eq StoredProceduresMetrics Source # 
Instance details

Defined in Hasura.Server.Telemetry.Types

type Rep StoredProceduresMetrics Source # 
Instance details

Defined in Hasura.Server.Telemetry.Types

type Rep StoredProceduresMetrics = D1 ('MetaData "StoredProceduresMetrics" "Hasura.Server.Telemetry.Types" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "StoredProceduresMetrics" 'PrefixI 'True) (S1 ('MetaSel ('Just "_spmWithParameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "_spmWithoutParameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newtype LogicalModelsMetrics Source #

Constructors

LogicalModelsMetrics 

Fields

Instances

Instances details
ToJSON LogicalModelsMetrics Source # 
Instance details

Defined in Hasura.Server.Telemetry.Types

Monoid LogicalModelsMetrics Source # 
Instance details

Defined in Hasura.Server.Telemetry.Types

Semigroup LogicalModelsMetrics Source # 
Instance details

Defined in Hasura.Server.Telemetry.Types

Generic LogicalModelsMetrics Source # 
Instance details

Defined in Hasura.Server.Telemetry.Types

Associated Types

type Rep LogicalModelsMetrics :: Type -> Type #

Show LogicalModelsMetrics Source # 
Instance details

Defined in Hasura.Server.Telemetry.Types

Eq LogicalModelsMetrics Source # 
Instance details

Defined in Hasura.Server.Telemetry.Types

type Rep LogicalModelsMetrics Source # 
Instance details

Defined in Hasura.Server.Telemetry.Types

type Rep LogicalModelsMetrics = D1 ('MetaData "LogicalModelsMetrics" "Hasura.Server.Telemetry.Types" "graphql-engine-1.0.0-inplace" 'True) (C1 ('MetaCons "LogicalModelsMetrics" 'PrefixI 'True) (S1 ('MetaSel ('Just "_lmmCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int)))

data Metrics Source #

Instances

Instances details
ToJSON Metrics Source # 
Instance details

Defined in Hasura.Server.Telemetry.Types

Generic Metrics Source # 
Instance details

Defined in Hasura.Server.Telemetry.Types

Associated Types

type Rep Metrics :: Type -> Type #

Methods

from :: Metrics -> Rep Metrics x #

to :: Rep Metrics x -> Metrics #

Show Metrics Source # 
Instance details

Defined in Hasura.Server.Telemetry.Types

Eq Metrics Source # 
Instance details

Defined in Hasura.Server.Telemetry.Types

Methods

(==) :: Metrics -> Metrics -> Bool #

(/=) :: Metrics -> Metrics -> Bool #

type Rep Metrics Source # 
Instance details

Defined in Hasura.Server.Telemetry.Types

type Rep Metrics = D1 ('MetaData "Metrics" "Hasura.Server.Telemetry.Types" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "Metrics" 'PrefixI 'True) (((S1 ('MetaSel ('Just "_mtTables") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: (S1 ('MetaSel ('Just "_mtViews") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "_mtEnumTables") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) :*: (S1 ('MetaSel ('Just "_mtRelationships") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 RelationshipMetric) :*: (S1 ('MetaSel ('Just "_mtPermissions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 PermissionMetric) :*: S1 ('MetaSel ('Just "_mtEventTriggers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))) :*: ((S1 ('MetaSel ('Just "_mtFunctions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: (S1 ('MetaSel ('Just "_mtRemoteSchemas") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "_mtServiceTimings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ServiceTimingMetrics)))) :*: ((S1 ('MetaSel ('Just "_mtActions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ActionMetric)) :*: S1 ('MetaSel ('Just "_mtNativeQueries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 NativeQueriesMetrics)) :*: (S1 ('MetaSel ('Just "_mtStoredProcedures") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 StoredProceduresMetrics) :*: S1 ('MetaSel ('Just "_mtLogicalModels") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 LogicalModelsMetrics))))))

data SourceMetadata Source #

Instances

Instances details
ToJSON SourceMetadata Source # 
Instance details

Defined in Hasura.Server.Telemetry.Types

Generic SourceMetadata Source # 
Instance details

Defined in Hasura.Server.Telemetry.Types

Associated Types

type Rep SourceMetadata :: Type -> Type #

Show SourceMetadata Source # 
Instance details

Defined in Hasura.Server.Telemetry.Types

Eq SourceMetadata Source # 
Instance details

Defined in Hasura.Server.Telemetry.Types

type Rep SourceMetadata Source # 
Instance details

Defined in Hasura.Server.Telemetry.Types

type Rep SourceMetadata = D1 ('MetaData "SourceMetadata" "Hasura.Server.Telemetry.Types" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "SourceMetadata" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_smDbUid") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DbUid)) :*: S1 ('MetaSel ('Just "_smBackendType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 BackendType)) :*: (S1 ('MetaSel ('Just "_smDbKind") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "_smDbVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DbVersion)))))

data HasuraTelemetry Source #

Instances

Instances details
ToJSON HasuraTelemetry Source # 
Instance details

Defined in Hasura.Server.Telemetry.Types

Generic HasuraTelemetry Source # 
Instance details

Defined in Hasura.Server.Telemetry.Types

Associated Types

type Rep HasuraTelemetry :: Type -> Type #

Show HasuraTelemetry Source # 
Instance details

Defined in Hasura.Server.Telemetry.Types

type Rep HasuraTelemetry Source # 
Instance details

Defined in Hasura.Server.Telemetry.Types

newtype Topic Source #

The telemetry table to which we'll add telemetry.

Constructors

Topic 

Fields

Instances

Instances details
FromJSON Topic Source # 
Instance details

Defined in Hasura.Server.Telemetry.Types

ToJSON Topic Source # 
Instance details

Defined in Hasura.Server.Telemetry.Types

Show Topic Source # 
Instance details

Defined in Hasura.Server.Telemetry.Types

Methods

showsPrec :: Int -> Topic -> ShowS #

show :: Topic -> String #

showList :: [Topic] -> ShowS #

Eq Topic Source # 
Instance details

Defined in Hasura.Server.Telemetry.Types

Methods

(==) :: Topic -> Topic -> Bool #

(/=) :: Topic -> Topic -> Bool #