From 3409120f61a180fed2d197dff132259752afd658 Mon Sep 17 00:00:00 2001 From: Sherzod Karimov Date: Wed, 17 Jul 2024 15:18:18 -0400 Subject: [PATCH] remove percentile filter --- datadog_sync/model/metric_percentiles.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/datadog_sync/model/metric_percentiles.py b/datadog_sync/model/metric_percentiles.py index 160ca4bf..33843b55 100644 --- a/datadog_sync/model/metric_percentiles.py +++ b/datadog_sync/model/metric_percentiles.py @@ -6,7 +6,6 @@ from datadog_sync.utils.base_resource import BaseResource, ResourceConfig from datadog_sync.utils.custom_client import CustomClient -from datadog_sync.utils.resource_utils import SkipResource class MetricPercentiles(BaseResource): @@ -30,9 +29,6 @@ async def import_resource(self, _: Optional[str] = None, resource: Optional[Dict # This resource is not a dependency of any other resource. Hence it is # safe to ignore the _id parameter and rely solely on resource. - if not resource.get("include_percentiles"): - raise SkipResource(resource["metric_name"], self.resource_type, "Metric does not have percentiles config") - # metric_name => metric metric_name = resource.pop("metric_name") resource["metric"] = metric_name