Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/steadybit/instana-maintenance-window
GitHub action to define Instana maintenance windows
https://github.com/steadybit/instana-maintenance-window
Last synced: 5 days ago
JSON representation
GitHub action to define Instana maintenance windows
- Host: GitHub
- URL: https://github.com/steadybit/instana-maintenance-window
- Owner: steadybit
- License: mit
- Created: 2022-07-27T16:13:46.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-07-27T16:15:22.000Z (over 2 years ago)
- Last Synced: 2025-01-29T05:32:35.192Z (13 days ago)
- Language: JavaScript
- Size: 2.93 KB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Define Instana Maintenance Windows
## Example
To use the GitHub Action, you'll need to add it as a step in
your [workflow file](https://help.github.com/en/actions/automating-your-workflow-with-github-actions).```yaml
on: pushjobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: steadybit/instana-maintenance-window@v1
with:
origin: "https://{{unit}}-{{tenant}}.instana.io"
apiToken: ${{ secrets.INSTANA_API_TOKEN }}
query: "entity.zone:test"
name: ""
```## Inputs
| Name | Type | Required? | Default | Description |
|------------|--------|-----------|---------|----------------------------------------------------------------------------------------------|
| `origin` | string | yes | | The HTTP origin of your Instana installation, e.g., `https://{{unit}}-{{tenant}}.instana.io` |
| `apiToken` | string | yes | | An API token with the `ConfigureCustomAlerts` permission. |
| `query` | string | yes | | Dynamic focus query describing for which infrastructure to disable alerting |
| `name` | string | yes | | Name of the maintenance window |
| `duration` | int | no | 60000 | How long should the maintenance window be (in milliseconds)? |## Outputs
None for now.