Fuel plugin to collect Logging Monitoring and Alerting metrics
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

environment_config.yaml 2.3KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. attributes:
  2. metadata:
  3. restrictions:
  4. - condition: "cluster:net_provider != 'neutron'"
  5. action: "hide"
  6. environment_label:
  7. value: ''
  8. label: 'Environment label'
  9. description: 'Optional string to tag the data. If empty, it will default to "env-<environment id>".'
  10. weight: 10
  11. type: "text"
  12. elasticsearch_mode:
  13. type: "radio"
  14. weight: 20
  15. value: "local"
  16. label: "Events analytics (logs and notifications)"
  17. values:
  18. - data: "local"
  19. label: "Local node (if deployed)"
  20. - data: "remote"
  21. label: "Remote server"
  22. elasticsearch_address:
  23. value: ''
  24. label: 'Elasticsearch address'
  25. description: 'IP address or fully qualified domain name of the Elasticsearch server.'
  26. weight: 40
  27. type: "text"
  28. restrictions:
  29. - condition: "settings:lma_collector.elasticsearch_mode.value != 'remote'"
  30. action: "disable"
  31. regex: &node_address_regex
  32. source: '^[a-zA-Z\d][a-zA-Z\d_\-.]+$'
  33. error: "Invalid address or name"
  34. influxdb_mode:
  35. type: "radio"
  36. weight: 60
  37. value: "local"
  38. label: "Metrics analytics"
  39. values:
  40. - data: "local"
  41. label: "Local node (if deployed)"
  42. - data: "remote"
  43. label: "Remote server"
  44. influxdb_address:
  45. value: ''
  46. label: 'InfluxDB address'
  47. description: 'IP address or fully qualified domain name of the InfluxDB server.'
  48. weight: 70
  49. type: "text"
  50. regex: *node_address_regex
  51. restrictions:
  52. - condition: "settings:lma_collector.influxdb_mode.value != 'remote'"
  53. action: "disable"
  54. influxdb_database:
  55. value: 'lma'
  56. label: 'InfluxDB database name'
  57. description: ''
  58. weight: 75
  59. type: "text"
  60. regex: &not_empty_parameter
  61. source: '\S'
  62. error: "Invalid value"
  63. restrictions: &disable_influxdb_parameters
  64. - condition: "settings:lma_collector.influxdb_mode.value != 'remote'"
  65. action: "disable"
  66. influxdb_user:
  67. value: 'lma'
  68. label: 'InfluxDB user'
  69. description: ''
  70. weight: 80
  71. type: "text"
  72. regex: *not_empty_parameter
  73. restrictions: *disable_influxdb_parameters
  74. influxdb_password:
  75. value: 'lmapass'
  76. label: 'InfluxDB password'
  77. description: ''
  78. weight: 85
  79. type: "password"
  80. regex: *not_empty_parameter
  81. restrictions: *disable_influxdb_parameters