telegraf/plugins/inputs/webhooks/dockerhub
DazWilkin 7d9e2ca05c Add Docker Hub Webhook Plugin 2016-08-06 17:09:09 -07:00
..
README.md Add Docker Hub Webhook Plugin 2016-08-06 17:09:09 -07:00
dockerhub_webhooks.go Add Docker Hub Webhook Plugin 2016-08-06 17:09:09 -07:00
dockerhub_webhooks_mocks.go Add Docker Hub Webhook Plugin 2016-08-06 17:09:09 -07:00
dockerhub_webhooks_models.go Add Docker Hub Webhook Plugin 2016-08-06 17:09:09 -07:00
dockerhub_webhooks_test.go Add Docker Hub Webhook Plugin 2016-08-06 17:09:09 -07:00

README.md

Docker Hub Webhook

Docker Hub can be configured to send events to Webhooks. The page describes the JSON format of the events:

https://docs.docker.com/docker-hub/webhooks/

Webhooks are configured by repository:

https://hub.docker.com/r/User/[Repository]]/~/settings/webhooks/

Events

An event is generated by Docker Hub as the result of a docker push to the repository.

dockerhub_event

The measurement is called "dockerhub"

Tags:

  • 'description' = repository.description string

  • 'name' = repository.name string

  • 'namespace' = repository.namespace string

  • 'owner' = repository.owner string

  • 'repo_name' = repository.repo_name string

  • 'repo_url' = repository.repo_url string

  • 'status' = repository.status string

  • 'pusher' = push_data.pusher string

  • 'tag' = push_data.tag string

Fields:

  • 'comment_count' = repository.comment_count int

  • 'date_created' = repository.date_created int64

  • 'is_official' = repository.is_official bool

  • 'is_private' = repository.is_private bool

  • 'is_trusted' = repository.is_trusted bool

  • 'star_count' = repository.stat_count int

  • 'pushed_at' = push_data.psuhed_at int64