Vector Database Metrics

Vector database metrics in this repo are for the Milvus metrics path. The ready-to-use exporter maps Milvus core metrics, proxy operation metrics, cache-hit metrics, and queue-latency metrics into AppDynamics custom metrics for the vector database dashboard.

Prerequisites

Ensure that:
  • Milvus is deployed and exposing Prometheus metrics
  • service path is reachable from the AppDynamics scrape path
  • Prometheus-compatible metrics are available at /metrics

Enable Prometheus Scraping for Vector Database

The following are example values from this repo:
  • service: milvus-deployment
  • namespace: milvus
  • port: 9091
  • path: /metrics

Replace these values with the vector database metrics service name and namespace used in the target environment.

Configure Machine Agent Ingestion

Infrastructure Visibility Prometheus monitoring loads the vector database exporter definition through prometheus-config-template.yamlNo Content found for /db/organizations/splunk/repositories/appdsaas-26_4_0/content/documents/AppDynamics/attachments/custom_dashboards_ai_pods/reference_configs_ai_pods.zip.

To activate this path:

  • include the vector database exporter YAML in the prometheus-exporters ConfigMap
  • ensure that the main include list references that exporter file
  • apply the ConfigMap update and re-run the Infrastructure Visibility Helm upgrade

Before enabling the scrape, update the exporter YAML service discovery fields to the service name and namespace used by your vector database deployment.

Exporter YAML Contract

Expected AppDynamics Custom Metric Paths

  • Custom Metrics|Vector DB|QueryCoord Collection Count
  • Custom Metrics|Vector DB|RootCoord DML Channel Count
  • Custom Metrics|Vector DB|RootCoord ID Alloc Count
  • Custom Metrics|Vector DB|Proxy|{status}|Request Count
  • Custom Metrics|Vector DB|Proxy Request Count
  • Custom Metrics|Vector DB|Proxy|Cache|{cache_state}|Hit Count
  • Custom Metrics|Vector DB|Proxy|Cache|{cache_name}|Hit Count (agg)
  • Custom Metrics|Vector DB|Proxy|{function_name}|Request Count (agg)
  • Custom Metrics|Vector DB|RootCoord|{function_name}|DDL Request Count (agg)
  • Custom Metrics|Vector DB|Proxy|{function_name}|Avg Latency in Queue (ms) (agg)
  • Custom Metrics|Vector DB|RootCoord|{function_name}|Avg DDL Latency in Queue (ms) (agg)

Create Custom Dashboard

The custom dashboard script generates ready-to-import AppDynamics dashboard JSON files from a set of templates. You supply your environment's node names and, optionally, the custom metric path prefixes. The script substitutes them into the templates and writes the JSON files. See Create Custom Dashboards for AI Pods.

Troubleshooting

  • if queue-latency widgets are empty, verify that both _sum and _count histogram series are present upstream.
  • distinguish the zero values from missing paths before changing the exporter YAML.