KRAUT - a prometheus exporter for Kong API usage
Following scripts are available to you (in the package.json):
startStarts the webserver (executes lib/index.js)start:watchSame asstartbut restarts when file changes are detectedbuildCompliles the typescript sources to javascriptbuild:dockerBuilds sources, packages them into a docker image and push it to the DockerHub repositorytestRuns all specstest:coverageRuns all specs and generates a coverage reportwatchSame as build but stays active and watches for file changes
You can run them using yarn run [script]
Run the the following:
yarn run start:generator
By default it sends logs to http://localhost:3000 - if you want to change the endpoint set the environment variable
ENDPOINT=http://kaut.url yarn run start:generator