You can use the LogicMonitor Push Metrics feature to send metrics directly to the LogicMonitor platform via a dedicated API, removing the need to route the data through a LogicMonitor Collector. Once the Push Metrics are ingested; the Push Metrics and the other metrics collated by LogicMonitor, provide a single platform for metric monitoring and alerting.
The push model used by Push Metrics allows you to push data directly to the LogicMonitor platform. For more information, see the Use Cases section.
The following is a broad overview of the steps required to ingest metrics via the Push Metrics REST API and manage the resulting DataSource.
- Create a role for the Push Metrics API and assign the role to an API-only user account. The API-only user account generates tokens that are required for API authentication.
Note: The role associated with the API-only user account must have permissions to manage Resources and manage LogicModules since the request allows for Resource and Datasource create/update. “Metrics” (Data Ingestion setting) is required if only metrics are being collected. For more information on creating roles and API-only user accounts, see Roles and Users respectively.
- Build the API request for ingesting metrics. For more information on the request parameters, see Ingesting Metrics with the Push Metrics REST API.
- Add customizations to the resulting DataSource (for example, datapoint thresholds, graphs, complex datapoints, and so on). For more information on understanding and managing the DataSources created by the API, see Managing DataSources Created by the Push Metrics API.
- View and manage resources receiving push metrics are similar to the other resources monitored in the LogicMonitor portal. For more information on understanding and managing resources created or updated by the API, see Managing Resources that Ingest Push Metrics.