-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
3 changed files
with
27 additions
and
27 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# Grafana.Plugin.CostManagement | ||
This is a Grafana datasource plugin to display Azure cost data | ||
|
||
## Requirements | ||
|
||
npm, mage, go, and any supported IDE for DEV running (suggested would be VS Code). | ||
|
||
## Local Running | ||
|
||
This requires a linux environment with npm, mage and go installed | ||
|
||
###Build Steps | ||
|
||
Clone the repos then cd dfe-azurecostbackend-datasource | ||
npm install | ||
npm run dev | ||
mage -v build:linux | ||
|
||
###Sign the Plugin | ||
|
||
export GRAFANA_ACCESS_POLICY_TOKEN=your token created in the grafana cloud site | ||
npx @grafana/sign-plugin@latest --rootUrls http://localhost:3000/ | ||
|
||
###Run Steps | ||
|
||
Call: docker-compose up | ||
Select the Azure Cost Datasource, confugure it then add it to a pannel |