Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/snapp-incubator/grafana-complementary-operator
An operator which complements grafana-operator for custom features which are not feasible to be merged into core operator
https://github.com/snapp-incubator/grafana-complementary-operator
golang grafana k8s-operator kubernetes observability oss snappcloud
Last synced: about 1 month ago
JSON representation
An operator which complements grafana-operator for custom features which are not feasible to be merged into core operator
- Host: GitHub
- URL: https://github.com/snapp-incubator/grafana-complementary-operator
- Owner: snapp-incubator
- License: apache-2.0
- Created: 2022-02-27T11:45:43.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-05-01T07:15:50.000Z (8 months ago)
- Last Synced: 2024-11-15T21:37:52.240Z (about 1 month ago)
- Topics: golang, grafana, k8s-operator, kubernetes, observability, oss, snappcloud
- Language: Go
- Homepage:
- Size: 154 KB
- Stars: 14
- Watchers: 4
- Forks: 5
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
README
# Grafana Complementary Operator
A grafana which complements grafana-operator for custom features which are not feasible to be merged into core operator.
## Instructions
### Development
* `make generate` update the generated code for that resource type.
* `make manifests` Generating CRD manifests.
* `make test` Run tests.### Build
Export your image name:
```
export IMG=ghcr.io/your-repo-path/image-name:latest
```* `make build` builds golang app locally.
* `make docker-build` build docker image locally.
* `make docker-push` push container image to registry.### Run, Deploy
* `make run` run app locally
* `make deploy` deploy to k8s.### Clean up
* `make undeploy` delete resouces in k8s.
### Release
* `make changelog` generate changelog to check before release
* `make release` create a new tag and release it to github## Metrics
| Metric | Notes
|-----------------------------------------------------|------------------------------------
| controller_runtime_active_workers | Number of currently used workers per controller
| controller_runtime_max_concurrent_reconciles | Maximum number of concurrent reconciles per controller
| controller_runtime_reconcile_errors_total | Total number of reconciliation errors per controller
| controller_runtime_reconcile_time_seconds | Length of time per reconciliation per controller
| controller_runtime_reconcile_total | Total number of reconciliations per controller
| rest_client_request_latency_seconds | Request latency in seconds. Broken down by verb and URL.
| rest_client_requests_total | Number of HTTP requests, partitioned by status code, method, and host.
| workqueue_adds_total | Total number of adds handled by workqueue
| workqueue_depth | Current depth of workqueue
| workqueue_longest_running_processor_seconds | How many seconds has the longest running processor for workqueue been running.
| workqueue_queue_duration_seconds | How long in seconds an item stays in workqueue before being requested
| workqueue_retries_total | Total number of retries handled by workqueue
| workqueue_unfinished_work_seconds | How many seconds of work has been done that is in progress and hasn't been observed by work_duration. Large values indicate stuck threads. One can deduce the number of stuck threads by observing the rate at which this increases.
| workqueue_work_duration_seconds | How long in seconds processing an item from workqueue takes.## Security
### Reporting security vulnerabilities
If you find a security vulnerability or any security related issues, please DO NOT file a public issue, instead send your report privately to [email protected]. Security reports are greatly appreciated and we will publicly thank you for it.
## License
Apache-2.0 License, see [LICENSE](LICENSE).