diff --git a/dynatrace/environment_v2/metrics.py b/dynatrace/environment_v2/metrics.py index 5c877cf..3d9264a 100644 --- a/dynatrace/environment_v2/metrics.py +++ b/dynatrace/environment_v2/metrics.py @@ -37,6 +37,7 @@ def query( time_from: Optional[Union[datetime, str]] = None, time_to: Optional[Union[datetime, str]] = None, entity_selector: Optional[str] = None, + mz_selector: Optional[str] = None, ) -> PaginatedList["MetricSeriesCollection"]: params = { @@ -45,6 +46,7 @@ def query( "from": timestamp_to_string(time_from), "to": timestamp_to_string(time_to), "entitySelector": entity_selector, + "mzSelector": mz_selector } return PaginatedList(MetricSeriesCollection, self.__http_client, "/api/v2/metrics/query", params, list_item="result") diff --git a/setup.py b/setup.py index d81fe05..fc42b20 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ setup( name="dt", - version="1.1.60", + version="1.1.61", packages=find_packages(), install_requires=["requests>=2.22"], tests_require=["pytest", "mock", "tox"],