Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add fields to BigPanda alert #2454

Merged
merged 3 commits into from
Jan 5, 2021

Conversation

rhajek
Copy link
Contributor

@rhajek rhajek commented Dec 15, 2020

This PR improves BigPanda alerting:

  • by default BP Alert contains all field values and tags
  • BigPanda primary and secondary property is configurable in tick script or in topic handler
alert
  .bigPanda()
  .appKey('fc39458f98e91eb0310258c3b725d643')
  .primaryProperty('device')
  .secondaryProperty('sensor_name')
  .topic('bigpanda-topic')

or in topic hadler

id: bigpanda-cpu-alert
topic: bigpanda-topic
kind: bigpanda
options:
  app-key: '8f5795cada387b9f310f41fc369c88e4'
  primary-property: 'host'
  secondary-property: 'check'
  url: 'http://localhost:8080/data/v2/alerts'
Required for all non-trivial PRs
  • Rebased/mergable
  • Tests pass
  • CHANGELOG.md updated
  • Sign CLA (if not already signed)
Required only if applicable

You can erase any checkboxes below this note if they are not applicable to your Pull Request.

@timhallinflux timhallinflux added this to the 1.5.8 milestone Dec 16, 2020
@rhajek rhajek marked this pull request as ready for review December 17, 2020 12:58
@rhajek rhajek requested a review from docmerlin December 17, 2020 13:02
@docmerlin docmerlin merged commit 065fd9b into influxdata:master Jan 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants