Sha256: ad87db6b8b3a0432286bf45ba6139d40030bf819efbf835a899ff5764334cb31

Contents?: true

Size: 411 Bytes

Versions: 18

Compression:

Stored size: 411 Bytes

Contents

# frozen_string_literal: true

module Nonnative
  class Observability < Nonnative::HTTPClient
    def health
      get('health', { content_type: :json, accept: :json })
    end

    def liveness
      get('liveness', { content_type: :json, accept: :json })
    end

    def readiness
      get('readiness', { content_type: :json, accept: :json })
    end

    def metrics
      get('metrics')
    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
nonnative-1.67.0 lib/nonnative/observability.rb
nonnative-1.66.0 lib/nonnative/observability.rb
nonnative-1.65.0 lib/nonnative/observability.rb
nonnative-1.64.0 lib/nonnative/observability.rb
nonnative-1.63.0 lib/nonnative/observability.rb
nonnative-1.62.0 lib/nonnative/observability.rb
nonnative-1.61.0 lib/nonnative/observability.rb
nonnative-1.60.0 lib/nonnative/observability.rb
nonnative-1.59.1 lib/nonnative/observability.rb
nonnative-1.59.0 lib/nonnative/observability.rb
nonnative-1.58.2 lib/nonnative/observability.rb
nonnative-1.58.1 lib/nonnative/observability.rb
nonnative-1.58.0 lib/nonnative/observability.rb
nonnative-1.57.1 lib/nonnative/observability.rb
nonnative-1.57.0 lib/nonnative/observability.rb
nonnative-1.56.1 lib/nonnative/observability.rb
nonnative-1.56.0 lib/nonnative/observability.rb
nonnative-1.55.0 lib/nonnative/observability.rb