Method: Wavefront::Validators#wf_point?
- Defined in:
- lib/wavefront-sdk/validators.rb
#wf_point?(point) ⇒ Boolean
Validate a point so it conforms to the standard described in community.wavefront.com/docs/DOC-1031
445 446 447 448 449 450 451 452 |
# File 'lib/wavefront-sdk/validators.rb', line 445 def wf_point?(point) wf_metric_name?(point[:path]) wf_value?(point[:value]) wf_epoch?(point[:ts]) if point[:ts] wf_source_id?(point[:source]) if point[:source] (point[:tags]) if point[:tags] true end |