From a3b2930fc577f2db62870f4e583ce86ff6574f44 Mon Sep 17 00:00:00 2001 From: Akshat Jaimini Date: Sun, 29 Sep 2024 14:12:10 +0530 Subject: [PATCH] init exporter --- .../{exporter_traces.go => config.go} | 0 exporter/postgresexporter/exporter_metrics.go | 13 +++++++++++++ 2 files changed, 13 insertions(+) rename exporter/postgresexporter/{exporter_traces.go => config.go} (100%) create mode 100644 exporter/postgresexporter/exporter_metrics.go diff --git a/exporter/postgresexporter/exporter_traces.go b/exporter/postgresexporter/config.go similarity index 100% rename from exporter/postgresexporter/exporter_traces.go rename to exporter/postgresexporter/config.go diff --git a/exporter/postgresexporter/exporter_metrics.go b/exporter/postgresexporter/exporter_metrics.go new file mode 100644 index 000000000000..7ab7368f4928 --- /dev/null +++ b/exporter/postgresexporter/exporter_metrics.go @@ -0,0 +1,13 @@ +package postgresexporter + +import ( + "database/sql" + + "go.uber.org/zap" +) + +type metricsExporter struct { + client *sql.DB + + logger *zap.Logger +}