Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
dogapi
v0.5.0
Top Level Namespace
Dogapi
APIService
Client
Event
Scope
V1
AlertService
CommentService
DashboardListService
DashService
EmbedService
EventService
HostsService
MetadataService
MetricService
MonitorService
ScreenboardService
SearchService
ServiceCheckService
SnapshotService
TagService
UserService
Built with Crystal 1.9.2
2023-10-08 13:25:20 UTC
class
Dogapi::V1::MetadataService
Dogapi::V1::MetadataService
Dogapi::APIService
Reference
Object
Defined in:
dogapi/v1/metadata.cr
Instance Method Summary
#get
(metric_name)
#update
(metric_name, options = {}
of
String
=>
String
)
Instance methods inherited from class
Dogapi::APIService
handle_response(resp)
handle_response
,
prepare_params(extra_params, with_app_key)
prepare_params
,
request(method, url, extra_params, body, send_json, with_app_key =
true
)
request
,
suppress_error_if_silent(e)
suppress_error_if_silent
Constructor methods inherited from class
Dogapi::APIService
new(api_key : String, application_key : Nil | String =
nil
, silent : Bool =
true
, timeout : Int32 | Nil =
nil
, endpoint : Nil | String =
nil
)
new
Instance Method Detail
def
get
(metric_name)
#
[
View source
]
def
update
(metric_name, options = {}
of
String
=>
String
)
#
[
View source
]