diff options
author | Austin S. Hemmelgarn <austin@netdata.cloud> | 2020-04-13 08:39:52 -0400 |
---|---|---|
committer | Austin S. Hemmelgarn <austin@netdata.cloud> | 2020-04-13 08:42:22 -0400 |
commit | e2874320fc027f7ab51ab3e115d5b1889b8fd747 (patch) | |
tree | cd755ef9b8522634c61aed9888239c9b67394157 /exporting/process_data.c | |
parent | 353780082c0ac8525e5b52aa8a29bbf5b70871e8 (diff) |
Revert changes since v1.21 in pereparation for hotfix release.
Diffstat (limited to 'exporting/process_data.c')
-rw-r--r-- | exporting/process_data.c | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/exporting/process_data.c b/exporting/process_data.c index f2442e701c..c902aabdda 100644 --- a/exporting/process_data.c +++ b/exporting/process_data.c @@ -206,7 +206,7 @@ int start_host_formatting(struct engine *engine, RRDHOST *host) * Start chart formatting for every connector instance's buffer * * @param engine an engine data structure. - * @param st a chart. + * @param a chart. * @return Returns 0 on success, 1 on failure. */ int start_chart_formatting(struct engine *engine, RRDSET *st) @@ -242,7 +242,7 @@ int metric_formatting(struct engine *engine, RRDDIM *rd) error("EXPORTING: cannot format metric for %s", instance->config.name); return 1; } - instance->stats.buffered_metrics++; + instance->stats.chart_buffered_metrics++; } } @@ -390,19 +390,6 @@ int flush_host_labels(struct instance *instance, RRDHOST *host) } /** - * Update stats for buffered bytes - * - * @param instance an instance data structure. - * @return Always returns 0. - */ -int simple_connector_update_buffered_bytes(struct instance *instance) -{ - instance->stats.buffered_bytes = (collected_number)buffer_strlen((BUFFER *)(instance->buffer)); - - return 0; -} - -/** * Notify workers * * Notify exporting connector instance working threads that data is ready to send. |