Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prometheus tutorial #15914

Closed
a-thaler opened this issue Oct 26, 2022 · 3 comments
Closed

Prometheus tutorial #15914

a-thaler opened this issue Oct 26, 2022 · 3 comments
Assignees
Labels
area/monitoring Issues or PRs related to the monitoring module (deprecated)
Milestone

Comments

@a-thaler
Copy link
Contributor

a-thaler commented Oct 26, 2022

Description

Following the new Strategy, deprecation of the monitoring component should happen. In order to execute that, a replacement in the shape of a tutorial needs to be ready. So the goal is to have a tutorial on how to deploy a typical stack based on prometheus and grafana in a self-managed manner into a Kyma runtime, having a similar good integration experience as it is now. Hereby, it is essential to not copy anything from upstream to have a very low maintenance effort.

Criteria

  • have a tutorial on how to deploy prometheus and co. via helm
  • outline how to access the API but do not expose it, just describe port-forward
  • tutorial artifacts should be usable in automated tests (own resources in a repository, not in-line markdown)
  • do not copy the upstream chart anywhere
  • add a license disclaimer on top
  • brings k8s and istio setup
  • supports custom metrics with mTLS
  • enables generic scraping for workloads having prometheus annotation present

--- to be done

  • At the moment the kubernetes/statefulset dashboard is missing, please figure out why
  • have an alerting and custom metric example referenced, clear out confusion with current stack
    • remove the old tutorials from the public docu and just keep a redirect text
    • move the old monitoring-custom-alert/monitoring-custom-metrics examples as sub-instructions into the new tutorial and have it based on the new custom stack (using same placeholders)

--- will be done later

  • Potentially bundle eventing and function dashboards
@chrkl
Copy link
Contributor

chrkl commented Nov 23, 2022

The statefulset dashboard was removed from the upstream chart and the kubernetes-mixin project since it duplicates information of other dashboards:

@chrkl
Copy link
Contributor

chrkl commented Nov 25, 2022

@abbi-gaurav FYI

@chrkl
Copy link
Contributor

chrkl commented Dec 9, 2022

The following changes have been performed:

  • Making the monitoring-custom-alert and monitoring-custom-metrics examples subresources of the Prometheus example and aligned all commands and namespaces
  • Removed monitoring tutorials from the Kyma docs and added links to the examples
  • Enhanced the Prometheus example with instructions to set up alerting channels

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/monitoring Issues or PRs related to the monitoring module (deprecated)
Projects
None yet
Development

No branches or pull requests

2 participants