Welcome to mirror list, hosted at ThFree Co, Russian Federation.

sentry_error_frequency_type.rb « error_tracking « types « graphql « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 05af1391af35b3a780e0b38bae1ddd0d491d7f85 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# frozen_string_literal: true

module Types
  module ErrorTracking
    # rubocop: disable Graphql/AuthorizeTypes
    class SentryErrorFrequencyType < ::Types::BaseObject
      graphql_name 'SentryErrorFrequency'

      field :time, Types::TimeType,
        null: false,
        description: "Time the error frequency stats were recorded."
      field :count, GraphQL::INT_TYPE,
        null: false,
        description: "Count of errors received since the previously recorded time."
    end
    # rubocop: enable Graphql/AuthorizeTypes
  end
end