opamp-core

OpAMP Config Catalog UI

Overview

The provider can host a Config Catalog page that indexes configuration files from configured folders and displays metadata extracted from top comment blocks.

The page is added to the provider feature menu when enabled.

When the catalog is hosted inside the provider, the header also includes:

Those buttons stay hidden in standalone catalog deployments.

Configuration

Configure in opamp.json under top-level opamp.config_catalog:

{
  "opamp": {
    "config_catalog": {
      "enabled": true,
      "menu_label": "Config Catalog",
      "route_path": "/catalog",
      "help_path": "/catalog/help",
      "ui_base_css_path": "/config-service/ui/assets/config_ui.css",
      "sources": [
        {
          "folder": "config-service/json-definitions",
          "extensions": [".json", ".yaml", ".yml", ".conf"]
        }
      ]
    }
  }
}

Fields

Header Metadata Format

The catalog parser extracts metadata from top comment lines using:

Example:

# config-service: config_type=fluentbit
# config-service: version=5.0.4
# config-service: config_version=release-27

All discovered keys become table columns.

Provider UI Feature Menu Integration

Provider feature dropdown entries are configuration-driven from component-entry-points.quart entries that include label and url.

Example:

{
  "component-entry-points": {
    "quart": [
      {
        "entry_point": "config_service.opamp_integration:register_config_service_feature",
        "label": "Config Editor",
        "url": "/config-service/ui",
        "enabled": true
      }
    ]
  }
}

Help

Catalog help page:

Selection Checkbox Direction

The catalog selection checkbox capability remains available as part of normal catalog use rather than being hidden behind a separate mode toggle.

Callback Apply Flow

When the catalog is opened with a selection_callback query parameter:

The checkbox column is still present when no callback is supplied, so standalone catalog browsing and selection-based filtering continue to work without any provider dependency.