class Dogapi::V1::MetricService

Overview

Event-specific client affording more granular control than the simple Dogapi::Client

Defined in:

dogapi/v1/metric.cr

Instance Method Summary

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 flush_buffer #

[View source]
def get(query, from, to) #

[View source]
def make_metric_payload(metric, points, scope, options) #

[View source]
def submit(*args) #

[View source]
def submit_to_api(metric, points, scope, options = {} of String => String) #

[View source]
def submit_to_buffer(metric, points, scope, options = {} of String => String) #

[View source]
def switch_to_batched #

[View source]
def switch_to_single #

[View source]
def upload(metrics) #

[View source]