8/27/2023 0 Comments Free ruler obj![]() This makes the existing separation of tenants’ data less clear. Note: Federated rule groups allow data from multiple source tenants to be written into a singleĭestination tenant. Present on series returned with cross-tenant query federation. The time series used during evaluation of federated rules will have the _tenant_id_ label, similar to how it is The same “no partial results” guarantee applies to queries failing for other reasons (e.g. If any of these limits is exceeded, the whole evaluation will fail. If tenant-a has a federated rule group with source_tenants:, then query limits for tenant-bĪnd tenant-c will be applied. Set =true and -tenant-federation.enabled=true CLI flags (or their respective YAMLĭuring evaluation query limits applied to single tenants are also applied to each query in the rule group. The cross-tenant query federation feature. In this example MyGroupName rules will be evaluated against tenant-a and tenant-b tenants.įederated rule groups are skipped during evaluation by default. If source_tenants isĮmpty or omitted, then the tenant under which the group is created will be treated as the source_tenant.īelow is an example of how a federated rule group would look like: name: MyGroupName Of each rule in the group will be evaluated against the data of all tenants in source_tenants. ![]() The source_tenants field allows aggregating data from multiple tenants while evaluating a rule group. ![]() Federated rule groupsĪ federated rule group is a rule group with a non-empty source_tenants. You can configure Alertmanager’s API prefix via the -http.alertmanager-http-prefix flag, which defaults to /alertmanager.įor example, if Alertmanager is listening at and it is using the default API prefix, set -ruler.alertmanager-url to. If you’re using Mimir’s Alertmanager, point the address to Alertmanager’s API. This flag supports the DNS service discovery format.įor more information about DNS service discovery, refer to Supported discovery modes. The ruler then notifies Alertmanagers of any FIRING ( firing) alerts.Ĭonfigure the addresses of Alertmanagers with the -ruler.alertmanager-url flag. If an alerting rule has a defined for duration, it enters the PENDING ( pending) state.Īfter the alert has been active for the entire for duration, it enters the FIRING ( firing) state. The ruler evaluates the expressions in alerting rules at regular intervals and if the result includes any series, the alert becomes active. The ruler evaluates the expressions in the recording rules at regular intervals and writes the results back to the ingesters. To enable the remote operational mode, set the CLI flag or its respective YAML configuration parameter for the ruler.Ĭommunication between ruler and query-frontend is established over gRPC, so you can make use of client-side load balancing by prefixing the query-frontend address URL with dns://. When enabled, the ruler leverages all the query acceleration techniques employed by the query-frontend, such as query sharding. In this mode the ruler delegates rules evaluation to the query-frontend. Note: When this mode is used, no query acceleration techniques are used and the evaluation of very high cardinality queries could take longer than the evaluation interval, eventually leading to missing data points in the evaluated recording rules. To evaluate rules, the ruler connects directly to ingesters and store-gateways, and writes any resulting series to the ingesters.Ĭonfiguration of the built-in querier and distributor uses their respective configuration parameters: The ruler internally runs a querier and distributor, and evaluates recording and alerting rules in the ruler process itself. The ruler supports two different rule evaluation modes: Internal The ruler is an optional component that evaluates PromQL expressions defined in recording and alerting rules.Įach tenant has a set of recording and alerting rules and can group those rules into namespaces. Open source (Optional) Grafana Mimir ruler
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |