Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

Create a Prometheus connection

Establish a zero copy connection to a Prometheus system in Zero Copy Connector Hub.

Before you begin

Role required: df_connection_admin

About this task

Work with your data source admin to create a connection to Prometheus. For additional information about connecting, refer to the Prometheus connector documentation.

Note: This connector was developed by the open-source community and made available through the ServiceNow AI Platform for general use. Functionality can vary and might not cover all use cases supported by primary connectors.

Procedure

  1. Navigate to the available community connectors in Zero Copy Connector Hub in one of the following ways:

    • Navigate to All > Zero Copy Connector Hub > Available connectors > Community connectors.
    • Navigate to Admin > Zero Copy Connector Hub > Available connectors > Community connectors.
    • Find the Prometheus connector and select Connect.
  2. On the form, fill in the fields.

  1. Configure the connection security method.

    • If you want to use Java security CA certificates to establish a secure connection with the data source, select Default.

      This option uses public certificates already available in the Java security truststore.

    • If your data source requires one-way SSL and uses its own certificates, select TLS.

      Only one-way TLS (server validation) is supported. mTLS isn't supported.

  2. If you selected TLS, attach the Base64-encoded truststore PEM file.

FieldDescription
Name and description
Connection labelUnique name for this connection. This helps in identifying the connection within your system.
Connection nameSystem-generated name based on the Connection label. This field cannot be modified once the connection is established.
Short descriptionDescription of the connection explaining what it is about.
Connection attributes
Connection URLEndpoint for the Prometheus coordinator host. For example:`https:///`
Authentication methods
Authentication methodAuthentication method to use with Prometheus. Default is Basic Authentication.
UsernameUsername for basic authentication. This field appears only when Basic Authentication is selected from Authentication Method.
PasswordPassword associated with the username. This field appears only when Basic Authentication is selected from Authentication Method.
Attach TrustStore fileUpload the PEM file by selecting Attach PEM file and selecting the file.
Enter TrustStore file contentsCopy and paste the contents of the truststore file, verifying the content begins with:
-----BEGIN CERTIFICATE-----
and ends with:
-----END CERTIFICATE-----
  1. Select Connect.

  2. In the DataFabric Connector Properties [sn_df_connector_properties] table, set properties for queries that retrieve data from Prometheus.

    1. Enter sn_df_connector_properties.LIST in the navigation filter.

    2. Set the following properties.

      • prometheus.max.query.range.duration — Defines the maximum span of time series data that the Prometheus connector can retrieve in a single query.
      • prometheus.query.chunk.size.duration — Specifies the duration of each time chunk when splitting a query range into smaller intervals. Accepts standard duration notation (for example, 1y, 1w, 1d, 1h, 30m). The connector executes one query per chunk, reducing the risk of timeouts and improving performance on the Prometheus server. For more information, see Range Vector Selectors.

Result

A test connection is made to the external data source, verifying that the connection details are correct and the data source is accessible.

What to do next

If the connection succeeds, configure data steward access on the Access Control tab. See .

If the connection fails, verify the connection details with your data source administrator and try again.

sndocs is an independent community mirror and is not affiliated with or endorsed by ServiceNow.

ServiceNow, the ServiceNow logo, Now, and other ServiceNow marks are trademarks and/or registered trademarks of ServiceNow, Inc., in the United States and/or other countries. Other company and product names may be trademarks of the respective companies with which they are associated.

© 2026 ServiceNow, Inc. All rights reserved.

Documentation content is redistributed under the Apache License 2.0 from the ServiceNowDocs repository.