Skip to main content

Prometheus

Connect Prometheus to Deductive AI to enable reasoning over your metrics data. Once connected, Deductive can query metrics, identify anomalies, correlate with incidents, and provide insights about system performance.

Overview

This guide walks you through connecting Prometheus to Deductive AI. Once connected, Deductive can:
  • Query metrics using natural language
  • Identify anomalies and trends
  • Correlate metrics with code changes and incidents
  • Understand service health and performance
  • Provide insights during investigations

AWS IAM Role Setup

Configure IAM role authentication for AWS Managed Prometheus (AMP).

Steps

  1. Sign in to AWS Console
  2. In Amazon Managed Service for Prometheus
  3. Create or select a workspace
  4. Record the workspace ID
  5. Create an IAM role with appropriate permissions
  6. Record the role ARN
  7. If the role is cross-account, note the External ID (if configured)
  8. Select the AWS region where your workspace is located
Related Documentation: View AWS Managed Prometheus Documentation

Required Fields

  • Role ARN (roleArn): The Amazon Resource Name of the IAM role
  • External ID (externalId): External ID for cross-account access (if applicable)
  • Workspace ID (workspaceId): Your Prometheus workspace identifier
  • AWS Region (region): The AWS region where your workspace is located

Username and Password Authentication Setup

Configure basic authentication for self-hosted Prometheus instances.

Steps

  1. Ensure your Prometheus instance has basic authentication enabled
  2. Obtain your Prometheus username
  3. Obtain your Prometheus password
  4. Find your Prometheus server URL (hostname)
  5. The hostname should be accessible from your network
Related Documentation: View Prometheus Basic Auth Documentation

Required Fields

  • Username (username): Your Prometheus authentication username
  • Password (password): Your Prometheus authentication password
  • Hostname (hostname): Your Prometheus server URL

Field Reference

The following fields are used when configuring this integration:
  • External ID (externalId) - External ID for cross-account IAM role access
  • Prometheus Hostname (hostname) - URL of your Prometheus server
  • Password (password) - Password for basic authentication
  • AWS Region (region) - AWS region for managed Prometheus
  • Role ARN (roleArn) - IAM role ARN for AWS authentication
  • Username (username) - Username for basic authentication
  • Workspace ID (workspaceId) - Workspace ID for AWS Managed Prometheus

What Deductive Can Do with Prometheus

Once connected, Deductive AI can:
  • Query Metrics - Ask questions about system metrics in natural language
  • Anomaly Detection - Identify unusual patterns and spikes
  • Correlation - Link metric changes to code deployments and incidents
  • Performance Analysis - Understand system performance and bottlenecks
  • Capacity Planning - Identify trends and predict capacity needs

Next Steps

Once your integration is connected: