Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

isitfit

Package Overview
Dependencies
Maintainers
1
Versions
73
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

isitfit - npm Package Compare versions

Comparing version
0.20.5
to
0.20.6
+1
-1
isitfit.egg-info/PKG-INFO
Metadata-Version: 2.1
Name: isitfit
Version: 0.20.5
Version: 0.20.6
Summary: Command-line tool to calculate excess AWS cloud resource capacity

@@ -5,0 +5,0 @@ Home-page: https://gitlab.com/autofitcloud/isitfit

@@ -1,1 +0,1 @@

isitfit_version='0.20.5'
isitfit_version='0.20.6'

@@ -49,2 +49,10 @@ """

h_rev = datadog.api.Hosts.search(count=MAX_COUNT)
if 'status' in h_rev:
if h_rev['status']=='error':
msg = "Datadog API/APP keys configured wrong?"
if 'errors' in h_rev: msg += " Got error: %s"%", ".join(h_rev['errors'])
from isitfit.cli.click_descendents import IsitfitCliError
raise IsitfitCliError(msg)
# alternatively, can use host_name here.

@@ -274,2 +282,4 @@ # Note the similar field used in self.hosts_search below.

def is_configured(self):
from isitfit.utils import ping_matomo
# check not None and not empty string

@@ -280,2 +290,3 @@ if os.getenv('DATADOG_API_KEY', None):

logger.info("Datadog env vars available")
ping_matomo("/cost/setting?datadog.is_configured=True")
self.print_configured = False

@@ -286,2 +297,3 @@ return True

logger.info("Datadog env vars missing. Set DATADOG_API_KEY and DATADOG_APP_KEY to get memory data from Datadog.")
ping_matomo("/cost/setting?datadog.is_configured=False")
self.print_configured = False

@@ -288,0 +300,0 @@

Metadata-Version: 2.1
Name: isitfit
Version: 0.20.5
Version: 0.20.6
Summary: Command-line tool to calculate excess AWS cloud resource capacity

@@ -5,0 +5,0 @@ Home-page: https://gitlab.com/autofitcloud/isitfit