Giter VIP home page Giter VIP logo

adguardhome_exporter's Introduction

adguardhome_exporter

Adguard home prometheus exporter

Golang CI

Installation

Mac

brew tap sfragata/tap

brew install sfragata/tap/adguardhome_exporter

Linux and Windows

get latest release here

Usage

adguardhome_exporter - Prometheus exporter for Adguard home

  Flags:
       --version          Displays the program version string.
    -h --help             Displays help with available flag, subcommand, and positional value parameters.
    -H --host             Adguard home address (default: 127.0.0.1)
    -p --port             Adguard home port (default: 80)
    -t --token            Adguard home token (if ADGUARD_HOME_TOKEN env variable is set, don't need to pass it). username:password in base64 format
    -l --listen-address   Adguard home exporter metrics port (default: 9311)

Output

# HELP adguard_dns_query_types show dns query types
# TYPE adguard_dns_query_types gauge
adguard_dns_query_types{type="A"} 3182
adguard_dns_query_types{type="AAAA"} 356
adguard_dns_query_types{type="CNAME"} 2533
# HELP adguard_exporter_build_info A metric with a constant '1' value labeled by adguard version and adguardhome_exporter version from which adguard/adguard_exporter was built.
# TYPE adguard_exporter_build_info gauge
adguard_exporter_build_info{adguard_exporter_version="v1.0.0",adguard_version="v0.107.45",protection_enabled="1",running="1"} 1
# HELP adguard_filtering_status show adguard filters
# TYPE adguard_filtering_status gauge
adguard_filtering_status{enable="1",last_update="2024-03-07T21:01:58-05:00",name="AdAway Default Blocklist",url="https://adguardteam.github.io/HostlistsRegistry/assets/filter_2.txt"} 6540
adguard_filtering_status{enable="1",last_update="2024-03-07T21:01:58-05:00",name="AdGuard DNS filter",url="https://adguardteam.github.io/HostlistsRegistry/assets/filter_1.txt"} 62819
# HELP adguard_stats show adguard stats
# TYPE adguard_stats gauge
adguard_stats{name="avg_processing_time"} 0.023511
adguard_stats{name="num_blocked_filtering"} 16765
adguard_stats{name="num_dns_queries"} 340190
adguard_stats{name="num_replaced_parental"} 0
adguard_stats{name="num_replaced_safebrowsing"} 0
adguard_stats{name="num_replaced_safesearch"} 25312
# HELP adguard_top_blocked_domains show adguard top blocked domains
# TYPE adguard_top_blocked_domains gauge
adguard_top_blocked_domains{domain="4421.api.swrve.com"} 38
adguard_top_blocked_domains{domain="youtubei.googleapis.com"} 333
# HELP adguard_top_clients show adguard top clients
# TYPE adguard_top_clients gauge
adguard_top_clients{hostname="192.168.2.10"} 340190
# HELP adguard_top_queried_domains show adguard top queried domains
# TYPE adguard_top_queried_domains gauge
adguard_top_queried_domains{domain="10.195.225.13.in-addr.arpa"} 2296
adguard_top_queried_domains{domain="111.195.225.13.in-addr.arpa"} 2296

adguardhome_exporter's People

Contributors

sfragata avatar

Stargazers

 avatar  avatar Ryan Adam avatar

Watchers

 avatar

Forkers

zonier

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.