HBase Exporter,fetch data from jmx for region-level data.

HBase Exporter

Prometheus exporter for HBase which fetch data from hbase jmx, written in Go.

You can even see region-level metrics.

Installation and Usage

For pre-built binaries please take a look at the releases.

Configuration

Below is the command line options summary:

hbase_exporter --help

Argument Introduced in Version Description Default
web.listen-address 1.2.0-cdh5.12.1 Address to listen on for web interface and telemetry. :9115
web.telemetry-path 1.2.0-cdh5.12.1 Path under which to expose metrics. /metrics
hbase.master.uri 1.2.0-cdh5.12.1 HTTP jmx address of an HBase master node. http://localhost:60010/jmx
hbase.regionserver.uri 1.2.0-cdh5.12.1 HTTP jmx address of an HBase regionserver node. http://localhost:60030/jmx
hbase.master 1.2.0-cdh5.12.1 Is hbase master. false

Master

Start in master:

./hbase_exporter --web.listen-address=":9003" --hbase.master.uri="http://localhost:60010/jmx" --hbase.master

Regionserver

Start in regionserver:

./hbase_exporter --web.listen-address=":9003" --hbase.regionserver.uri="http://localhost:60010/jmx"

Metrics

common

Common jvm metrics, both hmaster and regionservers.

From(both hmaster and regionservers):

http://localhost:60030/jmx?qry=Hadoop:service=HBase,name=JvmMetrics and http://localhost:60010/jmx?qry=Hadoop:service=HBase,name=JvmMetrics

Example:

hbase_jvm_mem_non_head_used_m{host="localhost",role="master"} 1

hbase_jvm_mem_non_head_used_m{host="localhost",role="regionserver"} 1

Name Type Origin in jmx
hbase_jvm_mem_non_head_used_m gauge MemNonHeapUsedM
hbase_jvm_mem_heap_userd_m gauge MemHeapUsedM
hbase_jvm_heap_max_m gauge MemHeapMaxM
hbase_jvm_mem_max_m gauge MemMaxM
hbase_jvm_gc_time_millis gauge GcTimeMillis
hbase_jvm_gc_count gauge GcCount
hbase_jvm_thread_blocked gauge ThreadsBlocked

HMaster

HMaster server metrics, only for hmaster.

From: http://localhost:60030/jmx?qry=Hadoop:service=HBase,name=Master,sub=Server

Example: hbase_server_num_region_servers{host="localhost",role="master"}

Name Type Origin in jmx
hbase_server_num_region_servers gauge NumRegionServers
hbase_server_num_dead_region_servers gauge NumDeadRegionServers
hbase_server_is_active_master gauge IsActiveMaster
hbase_server_average_load gauge AverageLoad

Regionserver

Regionserver server metrics, only for regionserver.

From: http://localhost:60030/jmx?qry=qry=Hadoop:service=HBase,name=RegionServer,sub=Server

Example: hbase_server_mem_store_size{host="localhost",role="regionserver"} 1

Name Type Origin in jmx
hbase_server_mem_store_size gauge MemStoreSize
hbase_server_region_count gauge RegionCount
hbase_server_store_count gauge StoreCount
hbase_server_store_file_count gauge StoreFileCount
hbase_server_store_file_size gauge StoreFileSize
hbase_server_total_request_count gauge TotalRequestCount
hbase_server_split_queue_length gauge SplitQueueLength
hbase_server_compaction_queue_length gauge CompactionQueueLength
hbase_server_flush_queue_length gauge FlushQueueLength
hbase_server_block_count_hit_percent gauge BlockCountHitPercent
hbase_server_slow_append_count gauge SlowAppendCount
hbase_server_slow_delete_count gauge SlowDeleteCount
hbase_server_slow_get_count gauge SlowGetCount
hbase_server_slow_put_count gauge SlowPutCount
hbase_server_slow_increment_count gauge SlowIncrementCount

Regionserver region metrics, only for regionserver.

From: http://localhost:60030/jmx?qry=Hadoop:service=HBase,name=RegionServer,sub=Regions

Example: hbase_region_store_count{host="localhost",hregion="4fcaf7b9d1fedc1b62c15cbb1c9a10dc",htable="t1",namespace="n1",role="regionserver"} 1

Name Type Origin in jmx
hbase_region_store_count gauge storeCount
hbase_region_store_file_count gauge storeFileCount
hbase_region_mem_store_size gauge memStoreSize
hbase_region_store_file_size gauge storeFileSize
hbase_region_compactions_completed_count gauge compactionsCompletedCount
hbase_region_read_request_count gauge readRequestCount
hbase_region_write_request_count gauge writeRequestCount
hbase_region_num_files_compacted_count gauge numFilesCompactedCount
hbase_region_num_bytes_compacted_count gauge numBytesCompactedCount
Similar Resources

Json-log-exporter - A Nginx log parser exporter for prometheus metrics

json-log-exporter A Nginx log parser exporter for prometheus metrics. Installati

Jan 5, 2022

Amplitude-exporter - Amplitude charts to prometheus exporter PoC

Amplitude exporter Amplitude charts to prometheus exporter PoC. Work in progress

May 26, 2022

Vulnerability-exporter - A Prometheus Exporter for managing vulnerabilities in kubernetes by using trivy

Vulnerability-exporter - A Prometheus Exporter for managing vulnerabilities in kubernetes by using trivy

Kubernetes Vulnerability Exporter A Prometheus Exporter for managing vulnerabili

Dec 4, 2022

Netstat exporter - Prometheus exporter for exposing reserved ports and it's mapped process

Netstat exporter Prometheus exporter for exposing reserved ports and it's mapped

Feb 3, 2022

Github billing exporter - Billing exporter for GitHub organizations

GitHub billing exporter Forked From: https://github.com/borisputerka/github_bill

Nov 2, 2022

Kepler (Kubernetes-based Efficient Power Level Exporter) uses eBPF to probe energy related system stats and exports as Prometheus metrics

Kepler (Kubernetes-based Efficient Power Level Exporter) uses eBPF to probe energy related system stats and exports as Prometheus metrics

kepler Kepler (Kubernetes Efficient Power Level Exporter) uses eBPF to probe energy related system stats and exports as Prometheus metrics Architectur

Dec 26, 2022

:pushpin: State of the art point location and neighbour finding algorithms for region quadtrees, in Go

:pushpin: State of the art point location and neighbour finding algorithms for region quadtrees, in Go

Region quadtrees in Go Region quadtrees and efficient neighbour finding techniques in Go Go-rquad proposes various implementations of region quadtrees

Dec 13, 2022

Sample app that prints the compute region it’s running on

This web application prints the Google Cloud datacenter it’s running on with information about where the datacenter is located (city, country and flag). It's used to demonstrate global load balancing capabilities of Google Cloud HTTPS Load Balancer, as it routes the request to the compute region closest to the visitor.

Jan 1, 2023

A cowin bot that gives you an update whenever it finds a vacancy in your region

go-cowin-bot A cowin bot that will give you an update on discord whenever it finds a vacancy for the parameters provided Setup: download go-cowin-bot

Mar 29, 2022

Biscuit is a multi-region HA key-value store for your AWS infrastructure secrets.

Biscuit Biscuit is a simple key-value store for your infrastructure secrets. Is Biscuit right for me? Biscuit is most useful to teams already using AW

Nov 10, 2022

Go package provides a fast lookup of country, region, city, latitude, longitude, ZIP code, time zone, ISP, domain name,

IP2Location Go Package This Go package provides a fast lookup of country, region, city, latitude, longitude, ZIP code, time zone, ISP, domain name, co

Jan 8, 2023

Scan all AWS EC2 instances in a region for potentially vulnerable log4j versions

ec2-log4j-scan Scan all AWS EC2 instances in a region for potentially vulnerable log4j versions. This is a clumsy but effective tool which takes outpu

Dec 28, 2021

Prometheus Common Data Exporter can parse JSON, XML, yaml or other format data from various sources (such as HTTP response message, local file, TCP response message and UDP response message) into Prometheus metric data.

Prometheus Common Data Exporter can parse JSON, XML, yaml or other format data from various sources (such as HTTP response message, local file, TCP response message and UDP response message) into Prometheus metric data.

Prometheus Common Data Exporter Prometheus Common Data Exporter 用于将多种来源(如http响应报文、本地文件、TCP响应报文、UDP响应报文)的Json、xml、yaml或其它格式的数据,解析为Prometheus metric数据。

May 18, 2022

fetch data from different databses

how to install make a folder with: - dbAgent.exe - config - log *config and log are folders make a config as mentioned below and put it inside config

Nov 22, 2021

Fetch input data for Advent of Code challenges.

Import the inputs for Advent of Code challenges straight into your code. Fetched data is cached by default. Usage Log into Advent of Code from your br

Oct 12, 2022

This app is an attempt towards using go lang with graphql data fetch in react front end.

go_movies _A React js + GraphQL supported with backend in GoLang. This app is an attempt towards using go lang with graphql data fetch in react front

Dec 7, 2021

Go-api-cli - Small CLI to fetch data from an API sync and async

Async API Cli CLI to fetch data on "todos" from a given API in a number of ways.

Jan 13, 2022

A simple Go package to fetch lyrics from Wikia

golyrics This is a simple scrapper package to fetch lyrics data from the Wikia website. Installation go get github.com/mamal72/golyrics Usage package

Dec 24, 2022

Fetch license information for all direct and indirect dependencies of your Golang project

Fetch license information for all direct and indirect dependencies of your Golang project

gocomply beta Give open source Golang developers the credit they deserve, follow your legal obligations, and save time with gocomply. This tiny little

Nov 1, 2022
A repository for plotting and visualizing data

Gonum Plot gonum/plot is the new, official fork of code.google.com/p/plotinum. It provides an API for building and drawing plots in Go. Note that this

Jun 3, 2021
Ltree Visualizer - A golang library to visualize postgres ltree type data using DOT language and Graphviz
Ltree Visualizer - A golang library to visualize postgres ltree type data using DOT language and Graphviz

Ltree Visualizer A golang library to visualize postgres ltree type data using DOT language and Graphviz What is Ltree? Ltree is a data type which is u

Jun 12, 2022
Attempt to plot light sensor data from lunarsensor.
Attempt to plot light sensor data from lunarsensor.

lightsensor Attempt to plot light sensor data from lunarsensor. Buy the components, install firmware on Ambient Light Sensor. Build the go app that po

Nov 10, 2022
Data visualization with chart, Create CSV file, Read Write CSV file

Data visualization with chart, Create CSV file, Read Write CSV file, Read from json file and many more in single project ......

Jan 13, 2022
HBase Exporter,fetch data from jmx for region-level data.

HBase Exporter Prometheus exporter for HBase which fetch data from hbase jmx, written in Go. You can even see region-level metrics. Installation and U

Nov 4, 2022
Go-fetch-words - Fetch 5 letter words from dictionary.com

Go-fetch-words This GO app fetches 5 letter words from dictionary.com and saves

Oct 16, 2022
Fetch-npm-package - A small utility that can be used to fetch a given version of a NPM package

Use fetch-npm-package <package> <version> <output-dir> E.g. fetch-npm-package is

May 21, 2022
Pure-Go HBase client

Golang HBase client This is a pure Go client for HBase. Current status: beta. Supported Versions HBase >= 1.0 Installation go get github.com/tsuna/goh

Jan 3, 2023
LLS-Exporter exports fuel level sensor data (rs-485 lls protocol) as prometheus metrics

LLS Exporter LLS Exporter reads rs485/rs232 data from serial port, decodes lls protocol and exports fuel level sensor data as prometheus metrics. Lice

Dec 14, 2021
Openvpn exporter - Prometheus OpenVPN exporter For golang

Prometheus OpenVPN exporter Please note: This repository is currently unmaintain

Jan 2, 2022