From e1089b95a1c974dda81a33e65cda0ba2cf250f93 Mon Sep 17 00:00:00 2001 From: Abhimanyu Saharan Date: Thu, 7 Nov 2024 12:33:48 +0530 Subject: [PATCH 1/2] added elastic apm for instrumenting cloud install --- netbox_paas/__init__.py | 1 + setup.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/netbox_paas/__init__.py b/netbox_paas/__init__.py index e1f1f64..9febe2d 100644 --- a/netbox_paas/__init__.py +++ b/netbox_paas/__init__.py @@ -16,6 +16,7 @@ class NetBoxPaas(PluginConfig): base_url = "paas" min_version = "3.7.0" max_version = "3.7.99" + django_apps = ["elasticapm.contrib.django"] def ready(self): super().ready() diff --git a/setup.py b/setup.py index 0b38249..fc65ce5 100644 --- a/setup.py +++ b/setup.py @@ -19,7 +19,7 @@ author_email="asaharan@onemindservices.com", maintainer="Abhimanyu Saharan", maintainer_email="asaharan@onemindservices.com", - install_requires=["py-jelastic", "croniter<3.0.0", "semver<4.0.0", "requirements-parser"], + install_requires=["py-jelastic", "croniter<3.0.0", "semver<4.0.0", "requirements-parser", "elastic-apm"], packages=find_packages(), include_package_data=True, zip_safe=False, From 178e22415b5cf32a071211a78aa7b2d08620423f Mon Sep 17 00:00:00 2001 From: Abhimanyu Saharan Date: Thu, 7 Nov 2024 12:43:07 +0530 Subject: [PATCH 2/2] added elastic apm for instrumenting cloud install --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index fc65ce5..a34d6e5 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ setup( name="netbox-paas", - version="0.3.4", + version="0.3.5", description="Enhances NetBox on CloudMyDC's PaaS with advanced management and control features.", long_description=long_description, long_description_content_type="text/markdown",