Module: Stackdriver::Client::AnnotationEvent
- Included in:
- Stackdriver::Client
- Defined in:
- lib/stackdriver/client/annotation_event.rb
Constant Summary collapse
- ENDPOINT =
'v1/annotationevent'.freeze
Instance Method Summary collapse
-
#annotation_event(message, options = {}) ⇒ Object
Options: :level (INFO/WARN/ERROR, default INFO) :annotated_by :instance_id :event_epoch.
Instance Method Details
#annotation_event(message, options = {}) ⇒ Object
Options:
:level (INFO/WARN/ERROR, default INFO)
:annotated_by
:instance_id
:event_epoch
18 19 20 21 22 23 24 |
# File 'lib/stackdriver/client/annotation_event.rb', line 18 def annotation_event(, ={}) data = { message: , }.merge() request(:post, ENDPOINT, data) end |