icinga2/lib/perfdata
Julian Brost 33781496da InfluxdbCommonWriter: use atomic_size_t to data buffer size from stats function
m_DataBuffer may be modified concurrently while StatsFunc() is called, thus
it's unsafe to call size() on it. As write access to m_DataBuffer is already
synchronized by only modifying it from the single work queue thread, instead of
adding a mutex, this commit adds a new std::atomic_size_t which is additionally
updated when modifying m_DataBuffer and can safely be accessed in StatsFunc().
2022-01-03 12:24:26 +01:00
..
CMakeLists.txt Introduce Influxdb2Writer 2021-07-20 16:21:36 +02:00
elasticsearchwriter.cpp ElasticsearchWriter: actually verify TLS server certificates 2021-08-13 17:24:24 +02:00
elasticsearchwriter.hpp Use std::mutex, not boost::mutex 2021-02-03 09:54:57 +01:00
elasticsearchwriter.ti ElasticsearchWriter: actually verify TLS server certificates 2021-08-13 17:24:24 +02:00
gelfwriter.cpp GelfWriter: show error message of exceptions 2021-08-13 17:24:24 +02:00
gelfwriter.hpp Revert "Make NotificationResult available for events: Cluster and Features" 2020-01-07 14:20:59 +01:00
gelfwriter.ti GelfWriter: actually verify TLS server certificates 2021-08-13 17:24:24 +02:00
graphitewriter.cpp Merge pull request #8601 from Icinga/feature/replace-std-boost-bind-with-lambdas-7006 2021-03-18 17:56:13 +01:00
graphitewriter.hpp Use std::mutex, not boost::mutex 2021-02-03 09:54:57 +01:00
graphitewriter.ti Disable feature HA by default (InfluxDB, Graphite, Gelf, Elasticsearch, OpenTSDB, Perfdata) 2019-03-27 15:29:47 +01:00
influxdb2writer.cpp Introduce Influxdb2Writer 2021-07-20 16:21:36 +02:00
influxdb2writer.hpp Introduce Influxdb2Writer 2021-07-20 16:21:36 +02:00
influxdb2writer.ti Introduce Influxdb2Writer 2021-07-20 16:21:36 +02:00
influxdbcommonwriter.cpp InfluxdbCommonWriter: use atomic_size_t to data buffer size from stats function 2022-01-03 12:24:26 +01:00
influxdbcommonwriter.hpp InfluxdbCommonWriter: use atomic_size_t to data buffer size from stats function 2022-01-03 12:24:26 +01:00
influxdbcommonwriter.ti InfluxdbCommonWriter: actually verify TLS server certificates 2021-08-13 17:24:24 +02:00
influxdbwriter.cpp InfluxdbCommonWriter: abstract InfluxdbWriter 2021-07-20 16:21:36 +02:00
influxdbwriter.hpp InfluxdbCommonWriter: abstract InfluxdbWriter 2021-07-20 16:21:36 +02:00
influxdbwriter.ti InfluxdbCommonWriter: abstract InfluxdbWriter 2021-07-20 16:21:36 +02:00
opentsdbwriter.cpp Replace std/boost::bind() function with lambda expression 2021-03-10 16:29:40 +01:00
opentsdbwriter.hpp Removed dictionary cloning behaviour. 2019-10-24 00:04:12 +11:00
opentsdbwriter.ti Added OpenTSDB Metric prefix naming support 2019-10-24 00:04:12 +11:00
perfdatawriter.cpp Merge pull request #8601 from Icinga/feature/replace-std-boost-bind-with-lambdas-7006 2021-03-18 17:56:13 +01:00
perfdatawriter.hpp Use std::mutex, not boost::mutex 2021-02-03 09:54:57 +01:00
perfdatawriter.ti Disable feature HA by default (InfluxDB, Graphite, Gelf, Elasticsearch, OpenTSDB, Perfdata) 2019-03-27 15:29:47 +01:00