o11y-8.x-1.x-dev/modules/o11y_metrics/config/schema/o11y_metrics.schema.yml

modules/o11y_metrics/config/schema/o11y_metrics.schema.yml
# Schema for configuration of the Prometheus Exporter module.

metrics_collector:
  type: mapping
  label: 'Metrics Collector'
  mapping:
    id:
      type: string
      label: 'ID'
    provider:
      type: string
      label: 'Provider'
    enabled:
      type: boolean
      label: 'Enabled'
    weight:
      type: integer
      label: 'Weight'
    settings:
      type: metrics_collector_settings.[%parent.id]

# Default for plugins without any schema.
metrics_collector_settings.*:
  type: mapping
  label: 'Metrics Collector settings'

o11y_metrics.settings:
  type: config_object
  label: 'Prometheus Exporter Settings'
  mapping:
    collectors:
      type: sequence
      label: 'Enabled collectors'
      sequence:
        type: metrics_collector
    wipe_client_storage_on_drush_config_import:
      type: boolean
      label: 'Wipe prometheus client storage after config import'

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc