summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvkalintiris <vasilis@netdata.cloud>2024-02-05 11:16:59 +0200
committerGitHub <noreply@github.com>2024-02-05 11:16:59 +0200
commit8121b18d1e59c1a28fb54844a01677fe9f5d29e2 (patch)
tree2bd25d8ddebb5838823dabf912810259b7fddb7f
parentc5579a186f22aba0edd7da844c6186c688625e3c (diff)
Move exporting/ under src/ (#16913)
-rw-r--r--.github/labeler.yml2
-rw-r--r--CMakeLists.txt54
-rw-r--r--docs/category-overview-pages/integrations-overview.md2
-rw-r--r--docs/export/enable-connector.md16
-rw-r--r--docs/export/external-databases.md80
-rw-r--r--docs/guides/using-host-labels.md4
-rw-r--r--integrations/integrations.js2
-rw-r--r--integrations/integrations.json2
-rw-r--r--src/exporting/README.md (renamed from exporting/README.md)22
-rw-r--r--src/exporting/TIMESCALE.md (renamed from exporting/TIMESCALE.md)2
-rw-r--r--src/exporting/WALKTHROUGH.md (renamed from exporting/WALKTHROUGH.md)2
l---------src/exporting/aws_kinesis/README.md (renamed from exporting/aws_kinesis/README.md)0
-rw-r--r--src/exporting/aws_kinesis/aws_kinesis.c (renamed from exporting/aws_kinesis/aws_kinesis.c)0
-rw-r--r--src/exporting/aws_kinesis/aws_kinesis.h (renamed from exporting/aws_kinesis/aws_kinesis.h)0
-rw-r--r--src/exporting/aws_kinesis/aws_kinesis_put_record.cc (renamed from exporting/aws_kinesis/aws_kinesis_put_record.cc)0
-rw-r--r--src/exporting/aws_kinesis/aws_kinesis_put_record.h (renamed from exporting/aws_kinesis/aws_kinesis_put_record.h)0
-rw-r--r--src/exporting/aws_kinesis/integrations/aws_kinesis.md (renamed from exporting/aws_kinesis/integrations/aws_kinesis.md)4
-rw-r--r--src/exporting/aws_kinesis/metadata.yaml (renamed from exporting/aws_kinesis/metadata.yaml)0
-rw-r--r--src/exporting/check_filters.c (renamed from exporting/check_filters.c)0
-rw-r--r--src/exporting/clean_connectors.c (renamed from exporting/clean_connectors.c)0
-rw-r--r--src/exporting/exporting.conf (renamed from exporting/exporting.conf)0
-rw-r--r--src/exporting/exporting_engine.c (renamed from exporting/exporting_engine.c)0
-rw-r--r--src/exporting/exporting_engine.h (renamed from exporting/exporting_engine.h)0
l---------src/exporting/graphite/README.md (renamed from exporting/graphite/README.md)0
-rw-r--r--src/exporting/graphite/graphite.c (renamed from exporting/graphite/graphite.c)0
-rw-r--r--src/exporting/graphite/graphite.h (renamed from exporting/graphite/graphite.h)0
-rw-r--r--src/exporting/graphite/integrations/blueflood.md (renamed from exporting/graphite/integrations/blueflood.md)4
-rw-r--r--src/exporting/graphite/integrations/graphite.md (renamed from exporting/graphite/integrations/graphite.md)4
-rw-r--r--src/exporting/graphite/integrations/influxdb.md (renamed from exporting/graphite/integrations/influxdb.md)4
-rw-r--r--src/exporting/graphite/integrations/kairosdb.md (renamed from exporting/graphite/integrations/kairosdb.md)4
-rw-r--r--src/exporting/graphite/metadata.yaml (renamed from exporting/graphite/metadata.yaml)0
-rw-r--r--src/exporting/init_connectors.c (renamed from exporting/init_connectors.c)0
l---------src/exporting/json/README.md (renamed from exporting/json/README.md)0
-rw-r--r--src/exporting/json/integrations/json.md (renamed from exporting/json/integrations/json.md)4
-rw-r--r--src/exporting/json/json.c (renamed from exporting/json/json.c)0
-rw-r--r--src/exporting/json/json.h (renamed from exporting/json/json.h)0
-rw-r--r--src/exporting/json/metadata.yaml (renamed from exporting/json/metadata.yaml)0
l---------src/exporting/mongodb/README.md (renamed from exporting/mongodb/README.md)0
-rw-r--r--src/exporting/mongodb/integrations/mongodb.md (renamed from exporting/mongodb/integrations/mongodb.md)4
-rw-r--r--src/exporting/mongodb/metadata.yaml (renamed from exporting/mongodb/metadata.yaml)0
-rw-r--r--src/exporting/mongodb/mongodb.c (renamed from exporting/mongodb/mongodb.c)0
-rw-r--r--src/exporting/mongodb/mongodb.h (renamed from exporting/mongodb/mongodb.h)0
-rwxr-xr-xsrc/exporting/nc-exporting.sh (renamed from exporting/nc-exporting.sh)0
l---------src/exporting/opentsdb/README.md (renamed from exporting/opentsdb/README.md)0
-rw-r--r--src/exporting/opentsdb/integrations/opentsdb.md (renamed from exporting/opentsdb/integrations/opentsdb.md)4
-rw-r--r--src/exporting/opentsdb/metadata.yaml (renamed from exporting/opentsdb/metadata.yaml)0
-rw-r--r--src/exporting/opentsdb/opentsdb.c (renamed from exporting/opentsdb/opentsdb.c)0
-rw-r--r--src/exporting/opentsdb/opentsdb.h (renamed from exporting/opentsdb/opentsdb.h)0
-rw-r--r--src/exporting/process_data.c (renamed from exporting/process_data.c)0
-rw-r--r--src/exporting/prometheus/README.md (renamed from exporting/prometheus/README.md)2
-rw-r--r--src/exporting/prometheus/integrations/appoptics.md (renamed from exporting/prometheus/integrations/appoptics.md)4
-rw-r--r--src/exporting/prometheus/integrations/azure_data_explorer.md (renamed from exporting/prometheus/integrations/azure_data_explorer.md)4
-rw-r--r--src/exporting/prometheus/integrations/azure_event_hub.md (renamed from exporting/prometheus/integrations/azure_event_hub.md)4
-rw-r--r--src/exporting/prometheus/integrations/chronix.md (renamed from exporting/prometheus/integrations/chronix.md)4
-rw-r--r--src/exporting/prometheus/integrations/cortex.md (renamed from exporting/prometheus/integrations/cortex.md)4
-rw-r--r--src/exporting/prometheus/integrations/cratedb.md (renamed from exporting/prometheus/integrations/cratedb.md)4
-rw-r--r--src/exporting/prometheus/integrations/elasticsearch.md (renamed from exporting/prometheus/integrations/elasticsearch.md)4
-rw-r--r--src/exporting/prometheus/integrations/gnocchi.md (renamed from exporting/prometheus/integrations/gnocchi.md)4
-rw-r--r--src/exporting/prometheus/integrations/google_bigquery.md (renamed from exporting/prometheus/integrations/google_bigquery.md)4
-rw-r--r--src/exporting/prometheus/integrations/irondb.md (renamed from exporting/prometheus/integrations/irondb.md)4
-rw-r--r--src/exporting/prometheus/integrations/kafka.md (renamed from exporting/prometheus/integrations/kafka.md)4
-rw-r--r--src/exporting/prometheus/integrations/m3db.md (renamed from exporting/prometheus/integrations/m3db.md)4
-rw-r--r--src/exporting/prometheus/integrations/metricfire.md (renamed from exporting/prometheus/integrations/metricfire.md)4
-rw-r--r--src/exporting/prometheus/integrations/new_relic.md (renamed from exporting/prometheus/integrations/new_relic.md)4
-rw-r--r--src/exporting/prometheus/integrations/postgresql.md (renamed from exporting/prometheus/integrations/postgresql.md)4
-rw-r--r--src/exporting/prometheus/integrations/prometheus_remote_write.md (renamed from exporting/prometheus/integrations/prometheus_remote_write.md)4
-rw-r--r--src/exporting/prometheus/integrations/quasardb.md (renamed from exporting/prometheus/integrations/quasardb.md)4
-rw-r--r--src/exporting/prometheus/integrations/splunk_signalfx.md (renamed from exporting/prometheus/integrations/splunk_signalfx.md)4
-rw-r--r--src/exporting/prometheus/integrations/thanos.md (renamed from exporting/prometheus/integrations/thanos.md)4
-rw-r--r--src/exporting/prometheus/integrations/tikv.md (renamed from exporting/prometheus/integrations/tikv.md)4
-rw-r--r--src/exporting/prometheus/integrations/timescaledb.md (renamed from exporting/prometheus/integrations/timescaledb.md)4
-rw-r--r--src/exporting/prometheus/integrations/victoriametrics.md (renamed from exporting/prometheus/integrations/victoriametrics.md)4
-rw-r--r--src/exporting/prometheus/integrations/vmware_aria.md (renamed from exporting/prometheus/integrations/vmware_aria.md)4
-rw-r--r--src/exporting/prometheus/integrations/wavefront.md (renamed from exporting/prometheus/integrations/wavefront.md)4
-rw-r--r--src/exporting/prometheus/metadata.yaml (renamed from exporting/prometheus/metadata.yaml)0
-rw-r--r--src/exporting/prometheus/prometheus.c (renamed from exporting/prometheus/prometheus.c)0
-rw-r--r--src/exporting/prometheus/prometheus.h (renamed from exporting/prometheus/prometheus.h)0
l---------src/exporting/prometheus/remote_write/README.md (renamed from exporting/prometheus/remote_write/README.md)0
-rw-r--r--src/exporting/prometheus/remote_write/remote_write.c (renamed from exporting/prometheus/remote_write/remote_write.c)0
-rw-r--r--src/exporting/prometheus/remote_write/remote_write.h (renamed from exporting/prometheus/remote_write/remote_write.h)0
-rw-r--r--src/exporting/prometheus/remote_write/remote_write.proto (renamed from exporting/prometheus/remote_write/remote_write.proto)0
-rw-r--r--src/exporting/prometheus/remote_write/remote_write_request.cc (renamed from exporting/prometheus/remote_write/remote_write_request.cc)0
-rw-r--r--src/exporting/prometheus/remote_write/remote_write_request.h (renamed from exporting/prometheus/remote_write/remote_write_request.h)0
l---------src/exporting/pubsub/README.md (renamed from exporting/pubsub/README.md)0
-rw-r--r--src/exporting/pubsub/integrations/google_cloud_pub_sub.md (renamed from exporting/pubsub/integrations/google_cloud_pub_sub.md)4
-rw-r--r--src/exporting/pubsub/metadata.yaml (renamed from exporting/pubsub/metadata.yaml)0
-rw-r--r--src/exporting/pubsub/pubsub.c (renamed from exporting/pubsub/pubsub.c)0
-rw-r--r--src/exporting/pubsub/pubsub.h (renamed from exporting/pubsub/pubsub.h)0
-rw-r--r--src/exporting/pubsub/pubsub_publish.cc (renamed from exporting/pubsub/pubsub_publish.cc)0
-rw-r--r--src/exporting/pubsub/pubsub_publish.h (renamed from exporting/pubsub/pubsub_publish.h)0
-rw-r--r--src/exporting/read_config.c (renamed from exporting/read_config.c)0
-rw-r--r--src/exporting/sample-metadata.yaml (renamed from exporting/sample-metadata.yaml)0
-rw-r--r--src/exporting/send_data.c (renamed from exporting/send_data.c)0
-rw-r--r--src/exporting/send_internal_metrics.c (renamed from exporting/send_internal_metrics.c)0
-rw-r--r--web/api/exporters/prometheus/README.md2
-rw-r--r--web/gui/v2/2934.810bd676d65e8a58defb.chunk.js2
96 files changed, 163 insertions, 163 deletions
diff --git a/.github/labeler.yml b/.github/labeler.yml
index 6d3f603f2c..7ee7612bbd 100644
--- a/.github/labeler.yml
+++ b/.github/labeler.yml
@@ -28,7 +28,7 @@ area/exporting:
- any:
- changed-files:
- any-glob-to-any-file:
- - exporting/**
+ - src/exporting/**
area/build:
- any:
diff --git a/CMakeLists.txt b/CMakeLists.txt
index b51ffe29db..a40b0f141a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -922,23 +922,23 @@ set(API_PLUGIN_FILES
)
set(EXPORTING_ENGINE_FILES
- exporting/exporting_engine.c
- exporting/exporting_engine.h
- exporting/graphite/graphite.c
- exporting/graphite/graphite.h
- exporting/json/json.c
- exporting/json/json.h
- exporting/opentsdb/opentsdb.c
- exporting/opentsdb/opentsdb.h
- exporting/prometheus/prometheus.c
- exporting/prometheus/prometheus.h
- exporting/read_config.c
- exporting/clean_connectors.c
- exporting/init_connectors.c
- exporting/process_data.c
- exporting/check_filters.c
- exporting/send_data.c
- exporting/send_internal_metrics.c
+ src/exporting/exporting_engine.c
+ src/exporting/exporting_engine.h
+ src/exporting/graphite/graphite.c
+ src/exporting/graphite/graphite.h
+ src/exporting/json/json.c
+ src/exporting/json/json.h
+ src/exporting/opentsdb/opentsdb.c
+ src/exporting/opentsdb/opentsdb.h
+ src/exporting/prometheus/prometheus.c
+ src/exporting/prometheus/prometheus.h
+ src/exporting/read_config.c
+ src/exporting/clean_connectors.c
+ src/exporting/init_connectors.c
+ src/exporting/process_data.c
+ src/exporting/check_filters.c
+ src/exporting/send_data.c
+ src/exporting/send_internal_metrics.c
)
set(HEALTH_PLUGIN_FILES
@@ -1437,15 +1437,15 @@ set(ACLK_FILES
set(MONGODB_EXPORTING_FILES
- exporting/mongodb/mongodb.c
- exporting/mongodb/mongodb.h
+ src/exporting/mongodb/mongodb.c
+ src/exporting/mongodb/mongodb.h
)
set(PROMETHEUS_REMOTE_WRITE_EXPORTING_FILES
- exporting/prometheus/remote_write/remote_write.c
- exporting/prometheus/remote_write/remote_write.h
- exporting/prometheus/remote_write/remote_write_request.cc
- exporting/prometheus/remote_write/remote_write_request.h
+ src/exporting/prometheus/remote_write/remote_write.c
+ src/exporting/prometheus/remote_write/remote_write.h
+ src/exporting/prometheus/remote_write/remote_write_request.cc
+ src/exporting/prometheus/remote_write/remote_write_request.h
)
#
@@ -2062,11 +2062,11 @@ if(ENABLE_EXPORTER_PROMETHEUS_REMOTE_WRITE)
endif()
endif()
- protoc_generate_cpp("${CMAKE_SOURCE_DIR}/exporting/prometheus/remote_write"
- "${CMAKE_SOURCE_DIR}/exporting/prometheus/remote_write"
+ protoc_generate_cpp("${CMAKE_SOURCE_DIR}/src/exporting/prometheus/remote_write"
+ "${CMAKE_SOURCE_DIR}/src/exporting/prometheus/remote_write"
PROMETHEUS_REMOTE_WRITE_BUILT_SRCS
PROMETHEUS_REMOTE_WRITE_BUILT_HDRS
- "exporting/prometheus/remote_write/remote_write.proto")
+ "src/exporting/prometheus/remote_write/remote_write.proto")
list(APPEND PROMETHEUS_REMOTE_WRITE_EXPORTING_FILES
${PROMETHEUS_REMOTE_WRITE_BUILT_SRCS}
@@ -2313,7 +2313,7 @@ install(FILES
# exporting
#
install(FILES
- exporting/exporting.conf
+ src/exporting/exporting.conf
DESTINATION usr/lib/netdata/conf.d)
#
diff --git a/docs/category-overview-pages/integrations-overview.md b/docs/category-overview-pages/integrations-overview.md
index 9d9276a99b..322d00cca7 100644
--- a/docs/category-overview-pages/integrations-overview.md
+++ b/docs/category-overview-pages/integrations-overview.md
@@ -26,6 +26,6 @@ We designed Netdata with interoperability in mind. The Agent collects thousands
you do with them is up to you. You can
[store metrics in the database engine](https://github.com/netdata/netdata/blob/master/src/database/README.md),
or send them to another time series database for long-term storage or further analysis using
-Netdata's [exporting engine](https://github.com/netdata/netdata/edit/master/exporting/README.md).
+Netdata's [exporting engine](https://github.com/netdata/netdata/edit/master/src/exporting/README.md).
diff --git a/docs/export/enable-connector.md b/docs/export/enable-connector.md
index 02e380e15d..dd3a55a4bf 100644
--- a/docs/export/enable-connector.md
+++ b/docs/export/enable-connector.md
@@ -60,8 +60,8 @@ Netdata Agent exports metrics _beginning from the time the process starts_, and
collected, you should start seeing data in your external database after only a few seconds.
Any further configuration is optional, based on your needs and the configuration of your OpenTSDB database. See the
-[OpenTSDB connector doc](https://github.com/netdata/netdata/blob/master/exporting/opentsdb/README.md)
-and [exporting engine reference](https://github.com/netdata/netdata/blob/master/exporting/README.md#configuration) for
+[OpenTSDB connector doc](https://github.com/netdata/netdata/blob/master/src/exporting/opentsdb/README.md)
+and [exporting engine reference](https://github.com/netdata/netdata/blob/master/src/exporting/README.md#configuration) for
details.
## Example: Enable the Graphite connector
@@ -84,22 +84,22 @@ Because the Agent exports metrics as they're collected, you should start seeing
only a few seconds.
Any further configuration is optional, based on your needs and the configuration of your Graphite-supported database.
-See [exporting engine reference](https://github.com/netdata/netdata/blob/master/exporting/README.md#configuration) for
+See [exporting engine reference](https://github.com/netdata/netdata/blob/master/src/exporting/README.md#configuration) for
details.
## What's next?
If you want to further configure your exporting connectors, see
-the [exporting engine reference](https://github.com/netdata/netdata/blob/master/exporting/README.md#configuration).
+the [exporting engine reference](https://github.com/netdata/netdata/blob/master/src/exporting/README.md#configuration).
For a comprehensive example of using the Graphite connector, read our documentation on
-[exporting metrics to Graphite providers](https://github.com/netdata/netdata/blob/master/exporting/graphite/README.md). Or, start
+[exporting metrics to Graphite providers](https://github.com/netdata/netdata/blob/master/src/exporting/graphite/README.md). Or, start
[using host labels](https://github.com/netdata/netdata/blob/master/d