Versión de la integración1.1.1
This page is not yet available in Spanish. We are working on its translation.
If you have any questions or feedback about our current translation project,
feel free to reach out to us!Overview
Get metrics from Hbase_master service in real time to:
- Visualize and monitor Hbase_master states.
- Be notified about Hbase_master failovers and events.
Setup
The Hbase_master check is not included in the Datadog Agent package, so you need to install it.
Installation
For Agent v7.21+ / v6.21+, follow the instructions below to install the Hbase_master check on your host. See Use Community Integrations to install with the Docker Agent or earlier versions of the Agent.
Run the following command to install the Agent integration:
datadog-agent integration install -t datadog-hbase_master==<INTEGRATION_VERSION>
Configure your integration similar to core integrations.
Configuration
Edit the hbase_master.d/conf.yaml
file in the conf.d/
folder at the root of your Agent’s configuration directory to start collecting your Hbase_master metrics. See the sample hbase_master.d/conf.yaml for all available configuration options.
NOTE: If using Agent 6, be sure to modify the hbase_master.d/metrics.yaml
file and wrap boolean keys in quotes.
- include:
domain: Hadoop
bean:
- Hadoop:service=HBase,name=Master,sub=Server
attribute:
# Is Active Master
tag.isActiveMaster:
metric_type: gauge
alias: hbase.master.server.tag.is_active_master
values: {"true": 1, "false": 0, default: 0}
Restart the Agent
Log collection
Collecting logs is disabled by default in the Datadog Agent, you need to enable it in datadog.yaml
:
Add this configuration block to your hbase_master.d/conf.yaml
file to start collecting your Hbase_master Logs:
logs:
- type: file
path: /path/to/my/directory/file.log
source: hbase
Change the path
parameter value and configure it for your environment.
See the sample hbase_master.d/conf.yaml for all available configuration options.
Restart the Agent.
Validation
Run the Agent’s status subcommand and look for hbase_master
under the Checks section.
Data Collected
Metrics
| |
---|
hbase.master.assignmentmanager.rit_oldest_age (gauge) | The age of the longest region in transition, in milliseconds Shown as millisecond |
hbase.master.assignmentmanager.rit_count_over_threshold (gauge) | The number of regions that have been in transition longer than a threshold time |
hbase.master.assignmentmanager.rit_count (gauge) | The number of regions in transition |
hbase.master.assignmentmanager.assign.min (gauge) | |
hbase.master.assignmentmanager.assign.max (gauge) | |
hbase.master.assignmentmanager.assign.mean (gauge) | |
hbase.master.assignmentmanager.assign.median (gauge) | |
hbase.master.assignmentmanager.assign.percentile.99 (gauge) | |
hbase.master.ipc.queue_size (gauge) | Number of bytes in the call queues. Shown as byte |
hbase.master.ipc.num_calls_in_general_queue (gauge) | Number of calls in the general call queue. |
hbase.master.ipc.num_calls_in_replication_queue (gauge) | Number of calls in the replication call queue. |
hbase.master.ipc.num_calls_in_priority_queue (gauge) | Number of calls in the priority call queue. |
hbase.master.ipc.num_open_connections (gauge) | Number of open connections. |
hbase.master.ipc.num_active_handler (gauge) | Number of active rpc handlers. |
hbase.master.ipc.total_call_time.max (gauge) | total call time, including both queued and processing time. Shown as millisecond |
hbase.master.ipc.total_call_time.mean (gauge) | total call time, including both queued and processing time. Shown as millisecond |
hbase.master.ipc.total_call_time.median (gauge) | total call time, including both queued and processing time. Shown as millisecond |
hbase.master.ipc.total_call_time.percentile.99 (gauge) | total call time, including both queued and processing time. Shown as millisecond |
hbase.master.server.tag.is_active_master (gauge) | Is Active Master |
hbase.master.server.num_region_servers (gauge) | Number of RegionServers |
hbase.master.server.num_dead_region_servers (gauge) | Number of dead RegionServers |
Events
The Hbase_master check does not include any events.
Service Checks
The Hbase_master check does not include any service checks.
Troubleshooting
Need help? Contact Datadog support.