Categorygithub.com/sajeevany/graph-snapper
module
0.0.0-20230225233916-41b1600f7865
Repository: https://github.com/sajeevany/graph-snapper.git
Documentation: pkg.go.dev

# README

graph-snapper

Tool which takes snapshots of desired dashboards/graphs and stores them in the specified document store. Intended to capture Grafana data and store it in Confluence.

Generate swagger files:

swag init -g cmd/graph-snapper/main.go -o ./docs

Access swagger API:

${HOST}:{PORT}/swagger/index.html
ie. http://localhost:80/swagger/index.html

Run unit tests:

go test -short ./...

Run integration tests(requires docker):

go test -run Integration ./...

Run unit and integration(requires docker):

go test ./...

Build image:

./build/buildImage.sh

or 

docker build --build-arg "GIT_COMMIT=CustomCommit" --build-arg "CONFIG_FILE=deploy/graph-snapper-conf_standalone.json" --tag "portfolio-service:CUSTOM" -f build/Dockerfile .

# Packages

No description provided by the author
No description provided by the author