- Apicast
- Backend Listener
- Backend Worker
- System App
- System Sidekiq
- 3scale Kube State Metrics
- 3scale Kube State Metrics (Openshift <4.9)
- Zync
- Zync QUE
Published prometheus rules are namespaced with the generic __NAMESPACE__
token.
The namespacing avoids conflicts when multiple 3scale instances are deployed in a cluster.
Before deploying the prometheus rules, make sure you modify the prometheus rules resources with your desired namespace. It can be easily done, for instance, for the apicast prometheus rules:
sed -i 's/__NAMESPACE__/mynamespace/g' apicast.yaml
Optionally, you can generate the prometheus rules with your own namespace name. Read the section about Building 3scale prometheus rules to follow the steps and know about required development tools needed to be installed.
If you decided to not have the 3scale operator deploy the prometheus rules for you, it is clear that you want to tune them to your own needs. Before deploying the published prometheus rules, make sure you pay attention to:
- Rule expression conditions and thresholds
- Duration of the rule (the
for
fieldp) - Severity of the rule