pokornyit / prometheus_data_dump Goto Github PK
View Code? Open in Web Editor NEWExport data from Prometheus to JSON files
License: MIT License
Export data from Prometheus to JSON files
License: MIT License
Add more data filter types for select metrics to dump. Now uses only instance, but needs another i.e. node.
./prometheus_data_dump --config.file=cfg.yml -v
ts=2024-02-20T10:51:33.274Z caller=main.go:72 level=info msg="Starting prometheus data export " version="(version=v1.3.0, branch=refs/tags/v1.3.0, revision=ab5c941626702ab6ce53234f8253f77cb9766c31)"
ts=2024-02-20T10:51:33.274Z caller=main.go:78 level=info msg="show only configuration ane exit"
prometheus_export
Actual configuration:
Server: [127.0.0.1:9090]
Data path: [./dump]
Days back: [2]
Sources:
[localhost.+ (false)]
Labels: [N/A]
./prometheus_data_dump --config.file=cfg.yml
ts=2024-02-20T10:52:01.085Z caller=main.go:72 level=info msg="Starting prometheus data export " version="(version=v1.3.0, branch=refs/tags/v1.3.0, revision=ab5c941626702ab6ce53234f8253f77cb9766c31)"
ts=2024-02-20T10:52:01.085Z caller=main.go:92 level=error msg="problem with configuration" error="invalid character 's' looking for beginning of value"
Program did not start due to configuration error!
Error: invalid character 's' looking for beginning of value
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.