Skip to content

Failed to gather resource history exceeded maximum resolution of 11,000 points per timeseries #490

@ojsef39

Description

@ojsef39

Describe the bug
When using simple-limit the following error occurs, and im a bit lost why, when i use simple it seems to work fine.

simple-limit will show a result but will show ? in the cpu columns

Additional context

           ERROR    Failed to gather resource history data for StatefulSet jelly-stack/jellyseerr/jellyseerr-chart                                                                                                                                prometheus_metrics_service.py:215
                    Traceback (most recent call last):
                      File "tenacity/__init__.py", line 478, in __call__
                      File "robusta_krr/core/integrations/prometheus/metrics/base.py", line 123, in _query_prometheus_sync
                      File "prometrix/connect/custom_connect.py", line 57, in safe_custom_query_range
                    prometheus_api_client.exceptions.PrometheusApiClientException: HTTP Status Code 400 (b'{"status":"error","errorType":"bad_data","error":"exceeded maximum resolution of 11,000 points per timeseries. Try decreasing the
                    query resolution (?step=XX)"}')

                    The above exception was the direct cause of the following exception:

                    Traceback (most recent call last):
                      File "robusta_krr/core/integrations/prometheus/metrics_service/prometheus_metrics_service.py", line 213, in gather_data
                      File "robusta_krr/core/integrations/prometheus/metrics/base.py", line 188, in load_data
                      File "robusta_krr/core/integrations/prometheus/metrics/base.py", line 154, in query_prometheus
                      File "concurrent/futures/thread.py", line 58, in run
                      File "robusta_krr/core/integrations/prometheus/metrics/base.py", line 154, in <lambda>
                      File "tenacity/__init__.py", line 336, in wrapped_f
                      File "tenacity/__init__.py", line 475, in __call__
                      File "tenacity/__init__.py", line 376, in iter
                      File "tenacity/__init__.py", line 419, in exc_check
                    tenacity.RetryError: RetryError[<Future at 0x1289fa050 state=finished raised PrometheusApiClientException>]
           WARNING  Prometheus returned no CPULoader metrics for StatefulSet jelly-stack/jellyseerr/jellyseerr-chart

Installed via Brew, krr v1.27.0

Thanks for taking a look :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions