BMC Helix Integration
MetricsHub pushes the collected metrics to BMC Helix Operations Management through the BMC Helix Exporter, which leverages the BMC Helix REST API.
Prerequisites
Before integrating MetricsHub with BMC Helix:
- Install MetricsHub on one or more systems that can access the monitored resources over the network
- Configure the monitoring of your resources
- Create a dedicated authentication key for MetricsHub integration.
Configuring the integration
Enabling BMC Helix Enrichment
-
Edit the MetricsHub configuration file (
metricshub.yaml) -
Enable the
bmchelixenrichment extension:enrichments:
- bmchelix
Configuring the BMC Helix Exporter
-
Edit the
otel/otel-config.yamlconfiguration file -
In the
exporterssection, configure the BMC Helix Exporter as follows:exporters:
bmchelix/helix1:
endpoint: https://company.onbmc.com
api_key: API_KEY
timeout: 20swhere:
endpointis the URL of your BMC Helix Portal (e.g.,*.onbmc.comfor SaaS tenants, or your on-premises Helix instance URL)api_keyis the API key used to authenticate the exporter. To obtain it, connect to BMC Helix, navigate to Administration > Repository and click Copy API Keytimeoutis the number of seconds before a request times out (default =10s).
-
(Optional)Enable automatic retries in case of export failures by adding:retry_on_failure:
enabled: true
initial_interval: 5s
max_interval: 1m
max_elapsed_time: 8mWhere
enabledactivates the retry mechanism when set totrueinitial_intervalis the time to wait after the first failure before retrying. Ignored ifenabledisfalse. Default:5s.max_intervalis the maximum wait time between retry attempts. Ignored ifenabledisfalse. Default:30s.max_elapsed_timeis the maximum total time to attempt sending a batch. If set to 0, the retries are never stopped. Ignored ifenabledisfalse. Set to0for unlimited retries. Default:300s.
For more details, refer to the Exporter Helper
-
Declare the BMC Helix Exporter in the
metricspipeline as follows:service:
extensions: [health_check, basicauth]
pipelines:
metrics:
receivers: [otlp, prometheus/internal]
processors: [memory_limiter, batch]
exporters: [bmchelix/helix1] -
Restart the MetricsHub service to apply the changes.