Class: Nonnative::Observability
Instance Method Summary
collapse
Methods inherited from HTTPClient
#initialize
Instance Method Details
#health ⇒ Object
5
6
7
|
# File 'lib/nonnative/observability.rb', line 5
def health
get('health', { content_type: :json, accept: :json })
end
|
#liveness ⇒ Object
9
10
11
|
# File 'lib/nonnative/observability.rb', line 9
def liveness
get('liveness', { content_type: :json, accept: :json })
end
|
#metrics ⇒ Object
17
18
19
|
# File 'lib/nonnative/observability.rb', line 17
def metrics
get('metrics')
end
|
#readiness ⇒ Object
13
14
15
|
# File 'lib/nonnative/observability.rb', line 13
def readiness
get('readiness', { content_type: :json, accept: :json })
end
|