Management Pack Builder

 View Only
  • 1.  Ability to dynamically assign properties and metrics

    Posted Sep 19, 2025 02:47 PM

    When collecting data, I'd like the adapter to be able to:

    • Retrieve a list of available metrics from an external API for each object.
    • Define metrics and their properties (key, type, label) based on the API response.
    • Assign collected values ​​to newly defined metrics.

    Is this possible in the VCF Operations Integration SDK?



    -------------------------------------------


  • 2.  RE: Ability to dynamically assign properties and metrics

    Posted Sep 19, 2025 03:46 PM

    Hi Miroslaw,

    No, the VMware Aria Operations Integration SDK does not support fully dynamic runtime definition and assignment of metrics and properties from an external API. The SDK focuses on a structured, schema-driven approach to ensure reliable, predictable, and optimized monitoring within VMware Aria Operations. Metrics must be statically predefined in the management pack (e.g., via metrics.yaml or XML) to maintain consistency in indexing, analytics, and reporting. However, you can dynamically fetch metric lists from an API and map values to predefined metrics using conditional logic in your collector script (e.g., Python with the requests library). A practical workaround is to define generic metrics (e.g., custom.metric.1, custom.metric.2) and assign API-fetched values dynamically.

    To explore approved workflows and best practices for building management packs, or to learn more about the SDK's capabilities, refer to the official VMware Aria Operations Integration SDK Documentation: https://developer.broadcom.com/apis/vcf-operations-integration-sdk (see "Adapter Development" and "Metric Definitions" sections).

    If you'd like to propose dynamic metric support as a feature, consider sharing your use case in the Management Pack Builder Community for feedback or filing a request via Broadcom Support:

    -------------------------------------------