Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/p1llus/backstage-plugins
https://github.com/p1llus/backstage-plugins
Last synced: 23 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/p1llus/backstage-plugins
- Owner: P1llus
- Created: 2023-10-05T12:24:01.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-15T08:17:22.000Z (about 1 year ago)
- Last Synced: 2024-12-09T02:09:12.672Z (about 1 month ago)
- Language: TypeScript
- Size: 651 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# [Backstage Plugins](https://github.com/p1llus/elastic-backstage-plugins)
Currently 3 plugins are hosted here each with their own readme:
**Elastic Stack Plugins (Unofficial)**
A unofficial set of plugins for the Elastic Stack, this is **NOT** covered by any official support agreements with Elastic.
- [Elastic (Frontend UI)](https://github.com/p1llus/elastic-backstage-plugins/tree/main/plugins/elastic)
- [Elastic Common (Common TS types and methods shared between other plugins)](https://github.com/p1llus/elastic-backstage-plugins/tree/main/plugins/elastic-common)
- [Elastic Backend (Backend API used by the frontend and communicates with the Elastic instances)](https://github.com/p1llus/elastic-backstage-plugins/tree/main/plugins/elastic-backend)To use or install any of the plugins (Elastic Common is just a dependency for the two others and can be ignored), please visit each plugin page for more information.
## Testing the plugins locally
The examples are very basic, and any visualization is not restricted to a specific page or entity type in a real deployment scenario.
1. Clone this repository (https://github.com/p1llus/backstage-plugins).
2. Run `yarn install` in the root of the project.
3. Ensure that you have the stack running somewhere with all relevant things you want to test (currently only SLO).
4. Modify the annotations in `./examples/test.yaml` file. A list of annotations required can be found in the [Elastic (Frontend UI)](https://github.com/p1llus/backstage-plugins/tree/main/plugins/elastic) readme.
5. Create a `app-config.local.yml` in the root of the project, and fill out the relevant configurationExample:
```yaml
elastic:
allow_guests: true
instances:
- name: somecluster
kibana:
baseUrl: https://testkibana.com:5601
apiKey: ${KIBANA1_KEY}
elasticsearch:
baseUrl: https://testes.com:9200
apiKey: APIKEYintegrations:
github:
- host: github.com
token: GITHUB Personal Access TOKENauth:
environment: development
providers:
github:
development:
clientId: Github APP ID
clientSecret: Github APP secret
```6. Run `yarn start` inside ./plugins/elastic and visit [UI TESTS](http://localhost:3000/) to test the UI components. You can also run `yarn dev` in the root of the project to check entities defined in ./examples/test.yaml, you can visit either the [GROUP](http://localhost:3000/catalog/default/group/guests) entity or the [WEBSITE](http://localhost:3000/catalog/default/component/example-website) entity.