https://github.com/replicatedhq/support-analytics
Tools for working with Replicated vendor yaml
https://github.com/replicatedhq/support-analytics
Last synced: 11 months ago
JSON representation
Tools for working with Replicated vendor yaml
- Host: GitHub
- URL: https://github.com/replicatedhq/support-analytics
- Owner: replicatedhq
- Created: 2019-05-16T00:50:25.000Z (about 7 years ago)
- Default Branch: main
- Last Pushed: 2021-12-09T00:25:09.000Z (over 4 years ago)
- Last Synced: 2025-04-05T03:13:44.482Z (about 1 year ago)
- Language: Go
- Size: 1.03 MB
- Stars: 0
- Watchers: 20
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Support Analytics
Checkout support-analytics into your GOTPATH
## Setup
```
export GOPATH=$HOME/go
export PATH=$PATH:$GOPATH/bin
```
## Build and test
```
cd $GOPATH/src/github.com/replicatedcom/support-analytics
make deps build test
```
## Generate a dependency graph
Perform these steps If you would like to generate a dependency graph from a vendors' yaml.
```
brew install graphviz
```
```
bin/support events --yaml app.yaml > app.graph
dot -Tpng app.graph > app.png
cp app.png ~/Pictures
```
## Generate multiple dependency graphs
To generate a .png for every app yaml within the yaml directory, run
```
make graphs
```