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

Added the InfluxDBNotification plugin including a NixOS test #665

Merged
merged 1 commit into from Jul 26, 2019

Conversation

basvandijk
Copy link
Member

@basvandijk basvandijk commented Jul 26, 2019

This adds a InfluxDBNotification plugin which is configured as:

<influxdb>
  url = http://127.0.0.1:8086
  db = hydra
</influxdb>

which will write a notification for every finished job to the configured database in InfluxDB looking like:

hydra_build_status,cached=false,job=job,jobset=default,project=sample,repo=default,result=success,status=success,system=x86_64-linux build_id="1",build_status=0i,closure_size=584i,duration=0i,main_build_id="1",queued=0i,size=168i 1564156212

This adds a `InfluxDBNotification` plugin which is configured as:

```
<influxdb>
  url = http://127.0.0.1:8086
  db = hydra
</influxdb>
```

which will write a notification for every finished job to the
configured database in InfluxDB looking like:

```
hydra_build_status,cached=false,job=job,jobset=default,project=sample,repo=default,result=success,status=success,system=x86_64-linux build_id="1",build_status=0i,closure_size=584i,duration=0i,main_build_id="1",queued=0i,size=168i 1564156212
```
@basvandijk basvandijk marked this pull request as ready for review July 26, 2019 15:52
@edolstra edolstra merged commit 9ec258d into NixOS:master Jul 26, 2019
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.

None yet

3 participants