This topic is for Prometheus users migrating their solution to Layerlog Infrastructure Monitoring.

You can send your Prometheus metrics to your Layerlog Infrastructure Monitoring account. To do this, you’ll need to send your application metrics to Layerlog in JSON format and stick to the formatting guidelines.

Our log scraping software service takes all your log file data, scrapes it and stores it in an archive. The log data may include messaging, calendaring, and other data types.

Before you begin, make sure you have the following details for your Layerlog Metrics account: Listener address (URL) and Layerlog metrics account token.

Notes:

  • You can import your existing dashboards to Layerlog, either manually or in a bulk process.
  • Notification endpoints and dashboard annotations are not imported: You’ll need to recreate them in Layerlog.

Configuring Prometheus metrics remote write to Layerlog

Within Prometheus:

  1. Define Layerlog as a new endpoint in Prometheus, using remote write.
  2. Provide the Layerlog metrics account listener address (URL) and token.

You can read more about Prometheus Remote Write Tuning here.

Your incoming time series data is saved with matching retention and aggregation, according to the existing solution and your account plan:

  • 3 days - raw data
  • 7 days - 1-minute downsampling
  • 30 days - 10-minute downsampling
  • 18 months- 60-minute downsampling

Importing dashboards from Grafana

You can do this manually, or use a script to import all the dashboards in a folder to Layerlog

After your Prometheus metrics begin to arrive to Layerlog:

  1. To import dashboards from your local Grafana
    1. Export the relevant Prometheus dashboards from your Grafana as JSON files.
    2. Log into Layerlog

    3. Log in to Layerlog and navigate to the Metrics tab.

    4. In the left navigation pane, click “+”, select the Import option, and import dashboards. Import dashboards from your Grafana

    5. To import your saved Prometheus dashboards: Click Upload json file and select the JSON files you saved in step 1. For more information see Upload JSON logs.
  2. To import dashboards from Grafana.com
    Enter the relevant dashboard URL or ID in the Import via grafana.com field and click Load. Import dashboards from your Grafana

Bulk import of dashboards with a script