csv_receiver

command
v0.0.0-...-d700847 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 14, 2024 License: BSD-3-Clause Imports: 10 Imported by: 0

README

CSV Receiver

The CSV Receiver is a service for collecting and storing PostgreSQL metric data in CSV format. It writes incoming metrics to organized CSV files in a specified directory structure. Each database has its own directory and all the metrics are stored in separate csv files.

Features

  • CSV Storage: Metrics are saved in CSV files, organized by database and metric names.
  • Dynamic Folder Creation: Automatically creates the necessary folders for each database and metric.
  • Error Handling: Robust error handling for file operations.

Usage

go run ./cmd/csv_receiver --port=<port_number_for_sink> --rootFolder=<location_on_disk>

CSV Structure

The CSV files will be stored in the following structure:

Database Folder

├── Metric1.csv

└── Metric2.csv

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL