Skip to content
This repository has been archived by the owner on Aug 21, 2019. It is now read-only.

cloudalchemy/ansible-ebpf_exporter

Repository files navigation

Ansible Role: ebpf exporter

Build Status License Ansible Role GitHub tag IRC

DISCLAIMER

Due to long period of lack of maintenance and lack of contributors this repository is now archived and development is stopped. If you want to become a maintainer please contact me at paulfantom@gmail.com

Description

Deploy cloudflare ebpf exporter using ansible. More about eBPF:

Configuration

Due to nature of eBPF, configuration of this exporter might be tricky. To simplify this, cloudflare pubished some examples in ebpf_exporter repository

Requirements

  • Ansible >= 2.5 (It might work on previous versions, but we cannot guarantee it)
  • kernel >= 4.1
  • go-lang on deployer machine
  • libbcc on deployer machine

Role Variables

All variables which can be overridden are stored in defaults/main.yml file as well as in table below.

Name Default Value Description
ebpf_exporter_web_listen_address "0.0.0.0:9100" Address on which ebpf exporter will listen

Example

Playbook

Use it in a playbook as follows:

- hosts: all
  roles:
    - cloudalchemy.ebpf_exporter

Demo site

We provide demo site for full monitoring solution based on prometheus and grafana. Repository with code and links to running instances is available on github and site is hosted on DigitalOcean.

Local Testing

TODO

CI

SemaphoreCI

TODO

TravisCI

Travis is used only on master branch to populate changelog and create new releases.

Contributing

See contributor guideline.

License

This project is licensed under MIT License. See LICENSE for more details.