Guest User

Untitled

a guest
Aug 20th, 2018
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. from metrics import Metrics
  2. from metrics.publisher import MetricsPublisher
  3.  
  4. publisher = MetricsPublisher('meow-miao', 'non-fsn-metrics', custom_prefix='bolt-staging-integration-test', app_id='sc-bolt-build-staging')
  5. metrics = Metrics(publisher)
  6. metrics.add_count('bolt-integration-test-failure', 1)
  7. print(metrics.flush_metrics())
Add Comment
Please, Sign In to add comment