Initial OpenCost plugin with light changes from yarn new --select plugin

Signed-off-by: Matt Ray <github@mattray.dev>
This commit is contained in:
Matt Ray
2023-06-06 15:30:09 +10:00
committed by Fredrik Adelöw
parent 0bc729ffff
commit 462b644d24
16 changed files with 505 additions and 0 deletions
+35
View File
@@ -0,0 +1,35 @@
# OpenCost
Welcome to the OpenCost plugin!
_This plugin was created through the Backstage CLI_
## Getting started
Your plugin has been added to the example app in this repository, meaning you'll be able to access it by running `yarn start` in the root directory, and then navigating to [/opencost](http://localhost:3000/opencost).
You can also serve the plugin in isolation by running `yarn start` in the plugin directory.
This method of serving the plugin provides quicker iteration speed and a faster startup and hot reloads.
It is only meant for local development, and the setup for it can be found inside the [/dev](./dev) directory.
## IDEAS
opencost logo on side
### variables for:
opencost URL
days of data (14d default)
costs warning lines
top graph:
pick with specific query pattern
dates adjustable
table underneath
TrendLines
Tabs on different namespaces/etc.?
get currencies from cost-insights