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

Allow skip loading Python kubelet check based on DD_KUBELET_CORE_CHECK_ENABLED #16856

Merged
Prev Previous commit
Next Next commit
Fix import order and remove unused import
  • Loading branch information
jennchenn committed Mar 5, 2024
commit 5fb4e188983caf241f658f801e00b9b1940d100e
3 changes: 1 addition & 2 deletions kubelet/datadog_checks/kubelet/kubelet.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
# Licensed under Simplified BSD License (see LICENSE)
from __future__ import division

import os
import re
import sys
from collections import defaultdict
Expand All @@ -15,8 +14,8 @@
from six.moves.urllib.parse import urlparse

from datadog_checks.base import AgentCheck, OpenMetricsBaseCheck
from datadog_checks.base.config import _is_affirmative
from datadog_checks.base.checks.kubelet_base.base import KubeletBase, KubeletCredentials, urljoin
from datadog_checks.base.config import _is_affirmative
from datadog_checks.base.errors import CheckException, SkipInstanceError
from datadog_checks.base.utils.tagging import tagger

Expand Down
Loading