Introduction

To ingest metrics data, follow the on-screen instructions provided under the METRICS section. These instructions will guide you through the necessary steps to configure and ingest metrics data successfully.

Once you have completed the setup, click Finish to finalize the process. This will ensure that metrics data is successfully integrated and ready for use within your OpsRamp environment.

OpenTelemetry Metrics Integration

OpsRamp accepts OpenTelemetry Protocol (OTLP) metrics from OpenTelemetry Collectors using the gRPC OTLP Exporter.

To get started with the OpenTelemetry Metrics Integration:

  1. Instrument your application using the OpenTelemetry SDK.
  2. Configure your OpenTelemetry Collector to ingest metrics.

You do not need to deploy a separate Prometheus remote write application. The OpenTelemetry Collector natively supports pushing metrics directly to a Prometheus remote write endpoint.

  1. In the OpenTelemetry Collector `config.yaml` file, add the following settings for the OpsRamp exporter to enable ingestion into OpsRamp.
    1. Navigate to the Integrations page and click the Prometheus Remote WriteM application.


    2. In the Configuration screen, click + ADD. The Configure screen appears. Enter the following information to proceed with next steps.
      FunctionalityDescriptionField Type
      NameEnter a name.String
      TypeSelect Normal.Dropdown


      Click Next.

    3. The Setup page appears.


    4. From the values displayed on the Setup page, add the corresponding entries to the exporters section of the config.yaml file.
      exporters:
        prometheusremotewrite:
          endpoint: "<paste the url value here>"
          headers:
            tenantId: <paste the tenantId here>
            integrationUUID: <paste the integration id here>
            Authorization: "Bearer <paste the token here>"
      

  2. Configure batch processing to improve data compression and reduce the number of outgoing connections used to transmit telemetry.
    processors:
       batch:
         timeout: 1s
         send_batch_size: 1000
         send_batch_max_size: 2000
    
  3. In the service → pipelines section of the configuration file, add `prometheusremotewrite` to the list of exporters wherever you want to push metrics to OpsRamp.
    service:
      pipelines:
        metrics:
          receivers:
            - otlp
          processors:
            - batch
          exporters:
            - prometheusremotewrite