Application: Collect ALL UniFi Controller, Site, Device & Client Data - Export to InfluxDB or Prometheus
Go to file
Daniel Schauenberg 5b04503cf9 move collector initialization up in Run method
all logging methods rely on the collector being initialized. When this isn't the case logging anything causes the whole app to crash with a nil pointer dereference. Specifically the datadog plugin causes unpoller to crash when it's disabled because it write a debug log on an uninitialized collector.
2022-11-09 11:43:16 +01:00
integrations/datadogunifi move collector initialization up in Run method 2022-11-09 11:43:16 +01:00