All URIs are relative to /dataservice
Method | HTTP request | Description |
---|---|---|
get_aggregation_data_by_query | GET /statistics/apphostinginterface/aggregation | |
get_aggregation_data_by_query1 | GET /statistics/apphosting/aggregation | |
get_count2 | GET /statistics/apphostinginterface/doccount | |
get_count3 | GET /statistics/apphosting/doccount | |
get_count_post2 | POST /statistics/apphostinginterface/doccount | |
get_count_post3 | POST /statistics/apphosting/doccount | |
get_post_aggregation_app_data_by_query | POST /statistics/apphostinginterface/app-agg/aggregation | |
get_post_aggregation_app_data_by_query1 | POST /statistics/apphosting/app-agg/aggregation | |
get_post_aggregation_data_by_query | POST /statistics/apphostinginterface/aggregation | |
get_post_aggregation_data_by_query1 | POST /statistics/apphosting/aggregation | |
get_post_stat_bulk_raw_data | POST /statistics/apphostinginterface/page | |
get_post_stat_bulk_raw_data1 | POST /statistics/apphosting/page | |
get_stat_bulk_raw_data | GET /statistics/apphostinginterface/page | |
get_stat_bulk_raw_data1 | GET /statistics/apphosting/page | |
get_stat_data_fields2 | GET /statistics/apphostinginterface/fields | |
get_stat_data_fields3 | GET /statistics/apphosting/fields | |
get_stat_data_raw_data | GET /statistics/apphostinginterface | |
get_stat_data_raw_data1 | GET /statistics/apphosting | |
get_stat_data_raw_data_as_csv | GET /statistics/apphostinginterface/csv | |
get_stat_data_raw_data_as_csv1 | GET /statistics/apphosting/csv | |
get_stat_query_fields2 | GET /statistics/apphostinginterface/query/fields | |
get_stat_query_fields3 | GET /statistics/apphosting/query/fields | |
get_stats_raw_data | POST /statistics/apphostinginterface | |
get_stats_raw_data1 | POST /statistics/apphosting |
{str: (bool, date, datetime, dict, float, int, list, str, none_type)} get_aggregation_data_by_query()
Get aggregated data based on input query and filters. The data can be filtered on time and other unique parameters based upon necessity and intended usage
import time
import openapi_client
from openapi_client.api import monitoring_app_hosting_api
from pprint import pprint
# Defining the host is optional and defaults to /dataservice
# See configuration.py for a list of all supported configuration parameters.
configuration = openapi_client.Configuration(
host = "/dataservice"
)
# Enter a context with an instance of the API client
with openapi_client.ApiClient() as api_client:
# Create an instance of the API class
api_instance = monitoring_app_hosting_api.MonitoringAppHostingApi(api_client)
query = "query_example" # str | Query filter (optional)
# example passing only required values which don't have defaults set
# and optional values
try:
api_response = api_instance.get_aggregation_data_by_query(query=query)
pprint(api_response)
except openapi_client.ApiException as e:
print("Exception when calling MonitoringAppHostingApi->get_aggregation_data_by_query: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
query | str | Query filter | [optional] |
{str: (bool, date, datetime, dict, float, int, list, str, none_type)}
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Success | - |
400 | Bad Request | - |
403 | Forbidden | - |
500 | Internal Server Error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
{str: (bool, date, datetime, dict, float, int, list, str, none_type)} get_aggregation_data_by_query1()
Get aggregated data based on input query and filters. The data can be filtered on time and other unique parameters based upon necessity and intended usage
import time
import openapi_client
from openapi_client.api import monitoring_app_hosting_api
from pprint import pprint
# Defining the host is optional and defaults to /dataservice
# See configuration.py for a list of all supported configuration parameters.
configuration = openapi_client.Configuration(
host = "/dataservice"
)
# Enter a context with an instance of the API client
with openapi_client.ApiClient() as api_client:
# Create an instance of the API class
api_instance = monitoring_app_hosting_api.MonitoringAppHostingApi(api_client)
query = "query_example" # str | Query filter (optional)
# example passing only required values which don't have defaults set
# and optional values
try:
api_response = api_instance.get_aggregation_data_by_query1(query=query)
pprint(api_response)
except openapi_client.ApiException as e:
print("Exception when calling MonitoringAppHostingApi->get_aggregation_data_by_query1: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
query | str | Query filter | [optional] |
{str: (bool, date, datetime, dict, float, int, list, str, none_type)}
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Success | - |
400 | Bad Request | - |
403 | Forbidden | - |
500 | Internal Server Error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
{str: (bool, date, datetime, dict, float, int, list, str, none_type)} get_count2(query)
Get response count of a query
import time
import openapi_client
from openapi_client.api import monitoring_app_hosting_api
from pprint import pprint
# Defining the host is optional and defaults to /dataservice
# See configuration.py for a list of all supported configuration parameters.
configuration = openapi_client.Configuration(
host = "/dataservice"
)
# Enter a context with an instance of the API client
with openapi_client.ApiClient() as api_client:
# Create an instance of the API class
api_instance = monitoring_app_hosting_api.MonitoringAppHostingApi(api_client)
query = "{"query":{"condition":"AND","rules":[{"value":["2021-05-10T01:00:00 UTC","2021-11-30T01:30:00 UTC"],"field":"entry_time","type":"date","operator":"between"}]},"aggregation":{"metrics":[{"property":"latency","type":"avg"}]}}" # str | Query
# example passing only required values which don't have defaults set
try:
api_response = api_instance.get_count2(query)
pprint(api_response)
except openapi_client.ApiException as e:
print("Exception when calling MonitoringAppHostingApi->get_count2: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
query | str | Query |
{str: (bool, date, datetime, dict, float, int, list, str, none_type)}
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Success | - |
400 | Bad Request | - |
403 | Forbidden | - |
500 | Internal Server Error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
{str: (bool, date, datetime, dict, float, int, list, str, none_type)} get_count3(query)
Get response count of a query
import time
import openapi_client
from openapi_client.api import monitoring_app_hosting_api
from pprint import pprint
# Defining the host is optional and defaults to /dataservice
# See configuration.py for a list of all supported configuration parameters.
configuration = openapi_client.Configuration(
host = "/dataservice"
)
# Enter a context with an instance of the API client
with openapi_client.ApiClient() as api_client:
# Create an instance of the API class
api_instance = monitoring_app_hosting_api.MonitoringAppHostingApi(api_client)
query = "{"query":{"condition":"AND","rules":[{"value":["2021-05-10T01:00:00 UTC","2021-11-30T01:30:00 UTC"],"field":"entry_time","type":"date","operator":"between"}]},"aggregation":{"metrics":[{"property":"latency","type":"avg"}]}}" # str | Query
# example passing only required values which don't have defaults set
try:
api_response = api_instance.get_count3(query)
pprint(api_response)
except openapi_client.ApiException as e:
print("Exception when calling MonitoringAppHostingApi->get_count3: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
query | str | Query |
{str: (bool, date, datetime, dict, float, int, list, str, none_type)}
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Success | - |
400 | Bad Request | - |
403 | Forbidden | - |
500 | Internal Server Error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
{str: (bool, date, datetime, dict, float, int, list, str, none_type)} get_count_post2()
Get response count of a query
import time
import openapi_client
from openapi_client.api import monitoring_app_hosting_api
from pprint import pprint
# Defining the host is optional and defaults to /dataservice
# See configuration.py for a list of all supported configuration parameters.
configuration = openapi_client.Configuration(
host = "/dataservice"
)
# Enter a context with an instance of the API client
with openapi_client.ApiClient() as api_client:
# Create an instance of the API class
api_instance = monitoring_app_hosting_api.MonitoringAppHostingApi(api_client)
body = {} # {str: (bool, date, datetime, dict, float, int, list, str, none_type)} | Query (optional)
# example passing only required values which don't have defaults set
# and optional values
try:
api_response = api_instance.get_count_post2(body=body)
pprint(api_response)
except openapi_client.ApiException as e:
print("Exception when calling MonitoringAppHostingApi->get_count_post2: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
body | {str: (bool, date, datetime, dict, float, int, list, str, none_type)} | Query | [optional] |
{str: (bool, date, datetime, dict, float, int, list, str, none_type)}
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Success | - |
400 | Bad Request | - |
403 | Forbidden | - |
500 | Internal Server Error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
{str: (bool, date, datetime, dict, float, int, list, str, none_type)} get_count_post3()
Get response count of a query
import time
import openapi_client
from openapi_client.api import monitoring_app_hosting_api
from pprint import pprint
# Defining the host is optional and defaults to /dataservice
# See configuration.py for a list of all supported configuration parameters.
configuration = openapi_client.Configuration(
host = "/dataservice"
)
# Enter a context with an instance of the API client
with openapi_client.ApiClient() as api_client:
# Create an instance of the API class
api_instance = monitoring_app_hosting_api.MonitoringAppHostingApi(api_client)
body = {} # {str: (bool, date, datetime, dict, float, int, list, str, none_type)} | Query (optional)
# example passing only required values which don't have defaults set
# and optional values
try:
api_response = api_instance.get_count_post3(body=body)
pprint(api_response)
except openapi_client.ApiException as e:
print("Exception when calling MonitoringAppHostingApi->get_count_post3: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
body | {str: (bool, date, datetime, dict, float, int, list, str, none_type)} | Query | [optional] |
{str: (bool, date, datetime, dict, float, int, list, str, none_type)}
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Success | - |
400 | Bad Request | - |
403 | Forbidden | - |
500 | Internal Server Error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
{str: (bool, date, datetime, dict, float, int, list, str, none_type)} get_post_aggregation_app_data_by_query()
Get aggregated data based on input query and filters. The data can be filtered on time and other unique parameters based upon necessity and intended usage
import time
import openapi_client
from openapi_client.api import monitoring_app_hosting_api
from pprint import pprint
# Defining the host is optional and defaults to /dataservice
# See configuration.py for a list of all supported configuration parameters.
configuration = openapi_client.Configuration(
host = "/dataservice"
)
# Enter a context with an instance of the API client
with openapi_client.ApiClient() as api_client:
# Create an instance of the API class
api_instance = monitoring_app_hosting_api.MonitoringAppHostingApi(api_client)
body = {} # {str: (bool, date, datetime, dict, float, int, list, str, none_type)} | Stats query string (optional)
# example passing only required values which don't have defaults set
# and optional values
try:
api_response = api_instance.get_post_aggregation_app_data_by_query(body=body)
pprint(api_response)
except openapi_client.ApiException as e:
print("Exception when calling MonitoringAppHostingApi->get_post_aggregation_app_data_by_query: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
body | {str: (bool, date, datetime, dict, float, int, list, str, none_type)} | Stats query string | [optional] |
{str: (bool, date, datetime, dict, float, int, list, str, none_type)}
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Success | - |
400 | Bad Request | - |
403 | Forbidden | - |
500 | Internal Server Error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
{str: (bool, date, datetime, dict, float, int, list, str, none_type)} get_post_aggregation_app_data_by_query1()
Get aggregated data based on input query and filters. The data can be filtered on time and other unique parameters based upon necessity and intended usage
import time
import openapi_client
from openapi_client.api import monitoring_app_hosting_api
from pprint import pprint
# Defining the host is optional and defaults to /dataservice
# See configuration.py for a list of all supported configuration parameters.
configuration = openapi_client.Configuration(
host = "/dataservice"
)
# Enter a context with an instance of the API client
with openapi_client.ApiClient() as api_client:
# Create an instance of the API class
api_instance = monitoring_app_hosting_api.MonitoringAppHostingApi(api_client)
body = {} # {str: (bool, date, datetime, dict, float, int, list, str, none_type)} | Stats query string (optional)
# example passing only required values which don't have defaults set
# and optional values
try:
api_response = api_instance.get_post_aggregation_app_data_by_query1(body=body)
pprint(api_response)
except openapi_client.ApiException as e:
print("Exception when calling MonitoringAppHostingApi->get_post_aggregation_app_data_by_query1: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
body | {str: (bool, date, datetime, dict, float, int, list, str, none_type)} | Stats query string | [optional] |
{str: (bool, date, datetime, dict, float, int, list, str, none_type)}
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Success | - |
400 | Bad Request | - |
403 | Forbidden | - |
500 | Internal Server Error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
{str: (bool, date, datetime, dict, float, int, list, str, none_type)} get_post_aggregation_data_by_query()
Get aggregated data based on input query and filters. The data can be filtered on time and other unique parameters based upon necessity and intended usage
import time
import openapi_client
from openapi_client.api import monitoring_app_hosting_api
from pprint import pprint
# Defining the host is optional and defaults to /dataservice
# See configuration.py for a list of all supported configuration parameters.
configuration = openapi_client.Configuration(
host = "/dataservice"
)
# Enter a context with an instance of the API client
with openapi_client.ApiClient() as api_client:
# Create an instance of the API class
api_instance = monitoring_app_hosting_api.MonitoringAppHostingApi(api_client)
body = {} # {str: (bool, date, datetime, dict, float, int, list, str, none_type)} | Stats query string (optional)
# example passing only required values which don't have defaults set
# and optional values
try:
api_response = api_instance.get_post_aggregation_data_by_query(body=body)
pprint(api_response)
except openapi_client.ApiException as e:
print("Exception when calling MonitoringAppHostingApi->get_post_aggregation_data_by_query: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
body | {str: (bool, date, datetime, dict, float, int, list, str, none_type)} | Stats query string | [optional] |
{str: (bool, date, datetime, dict, float, int, list, str, none_type)}
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Success | - |
400 | Bad Request | - |
403 | Forbidden | - |
500 | Internal Server Error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
{str: (bool, date, datetime, dict, float, int, list, str, none_type)} get_post_aggregation_data_by_query1()
Get aggregated data based on input query and filters. The data can be filtered on time and other unique parameters based upon necessity and intended usage
import time
import openapi_client
from openapi_client.api import monitoring_app_hosting_api
from pprint import pprint
# Defining the host is optional and defaults to /dataservice
# See configuration.py for a list of all supported configuration parameters.
configuration = openapi_client.Configuration(
host = "/dataservice"
)
# Enter a context with an instance of the API client
with openapi_client.ApiClient() as api_client:
# Create an instance of the API class
api_instance = monitoring_app_hosting_api.MonitoringAppHostingApi(api_client)
body = {} # {str: (bool, date, datetime, dict, float, int, list, str, none_type)} | Stats query string (optional)
# example passing only required values which don't have defaults set
# and optional values
try:
api_response = api_instance.get_post_aggregation_data_by_query1(body=body)
pprint(api_response)
except openapi_client.ApiException as e:
print("Exception when calling MonitoringAppHostingApi->get_post_aggregation_data_by_query1: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
body | {str: (bool, date, datetime, dict, float, int, list, str, none_type)} | Stats query string | [optional] |
{str: (bool, date, datetime, dict, float, int, list, str, none_type)}
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Success | - |
400 | Bad Request | - |
403 | Forbidden | - |
500 | Internal Server Error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
{str: (bool, date, datetime, dict, float, int, list, str, none_type)} get_post_stat_bulk_raw_data()
Get stats raw data
import time
import openapi_client
from openapi_client.api import monitoring_app_hosting_api
from pprint import pprint
# Defining the host is optional and defaults to /dataservice
# See configuration.py for a list of all supported configuration parameters.
configuration = openapi_client.Configuration(
host = "/dataservice"
)
# Enter a context with an instance of the API client
with openapi_client.ApiClient() as api_client:
# Create an instance of the API class
api_instance = monitoring_app_hosting_api.MonitoringAppHostingApi(api_client)
scroll_id = "DXF1ZXJ5QW5kRmV0Y2gBAAAAAAAAAOIWZ1NQbXpvQ29Uc0stNzZ2UzlwTEREUQ==" # str | ES scroll Id (optional)
count = "10" # str | Result size (optional)
body = {} # {str: (bool, date, datetime, dict, float, int, list, str, none_type)} | Stats query string (optional)
# example passing only required values which don't have defaults set
# and optional values
try:
api_response = api_instance.get_post_stat_bulk_raw_data(scroll_id=scroll_id, count=count, body=body)
pprint(api_response)
except openapi_client.ApiException as e:
print("Exception when calling MonitoringAppHostingApi->get_post_stat_bulk_raw_data: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
scroll_id | str | ES scroll Id | [optional] |
count | str | Result size | [optional] |
body | {str: (bool, date, datetime, dict, float, int, list, str, none_type)} | Stats query string | [optional] |
{str: (bool, date, datetime, dict, float, int, list, str, none_type)}
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Success | - |
400 | Bad Request | - |
403 | Forbidden | - |
500 | Internal Server Error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
{str: (bool, date, datetime, dict, float, int, list, str, none_type)} get_post_stat_bulk_raw_data1()
Get stats raw data
import time
import openapi_client
from openapi_client.api import monitoring_app_hosting_api
from pprint import pprint
# Defining the host is optional and defaults to /dataservice
# See configuration.py for a list of all supported configuration parameters.
configuration = openapi_client.Configuration(
host = "/dataservice"
)
# Enter a context with an instance of the API client
with openapi_client.ApiClient() as api_client:
# Create an instance of the API class
api_instance = monitoring_app_hosting_api.MonitoringAppHostingApi(api_client)
scroll_id = "DXF1ZXJ5QW5kRmV0Y2gBAAAAAAAAAOIWZ1NQbXpvQ29Uc0stNzZ2UzlwTEREUQ==" # str | ES scroll Id (optional)
count = "10" # str | Result size (optional)
body = {} # {str: (bool, date, datetime, dict, float, int, list, str, none_type)} | Stats query string (optional)
# example passing only required values which don't have defaults set
# and optional values
try:
api_response = api_instance.get_post_stat_bulk_raw_data1(scroll_id=scroll_id, count=count, body=body)
pprint(api_response)
except openapi_client.ApiException as e:
print("Exception when calling MonitoringAppHostingApi->get_post_stat_bulk_raw_data1: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
scroll_id | str | ES scroll Id | [optional] |
count | str | Result size | [optional] |
body | {str: (bool, date, datetime, dict, float, int, list, str, none_type)} | Stats query string | [optional] |
{str: (bool, date, datetime, dict, float, int, list, str, none_type)}
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Success | - |
400 | Bad Request | - |
403 | Forbidden | - |
500 | Internal Server Error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
{str: (bool, date, datetime, dict, float, int, list, str, none_type)} get_stat_bulk_raw_data()
Get stats raw data
import time
import openapi_client
from openapi_client.api import monitoring_app_hosting_api
from pprint import pprint
# Defining the host is optional and defaults to /dataservice
# See configuration.py for a list of all supported configuration parameters.
configuration = openapi_client.Configuration(
host = "/dataservice"
)
# Enter a context with an instance of the API client
with openapi_client.ApiClient() as api_client:
# Create an instance of the API class
api_instance = monitoring_app_hosting_api.MonitoringAppHostingApi(api_client)
query = "{"query":{"field":"latency","type":"long","value":["100"],"operator":"greater"},"size":1,"sort":[{"field":"latency","type":"long","order":"asc"}],"fields":["latency"]}" # str | Query string (optional)
scroll_id = "DXF1ZXJ5QW5kRmV0Y2gBAAAAAAAAAOIWZ1NQbXpvQ29Uc0stNzZ2UzlwTEREUQ==" # str | ES scroll Id (optional)
count = "10" # str | Result size (optional)
# example passing only required values which don't have defaults set
# and optional values
try:
api_response = api_instance.get_stat_bulk_raw_data(query=query, scroll_id=scroll_id, count=count)
pprint(api_response)
except openapi_client.ApiException as e:
print("Exception when calling MonitoringAppHostingApi->get_stat_bulk_raw_data: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
query | str | Query string | [optional] |
scroll_id | str | ES scroll Id | [optional] |
count | str | Result size | [optional] |
{str: (bool, date, datetime, dict, float, int, list, str, none_type)}
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Success | - |
400 | Bad Request | - |
403 | Forbidden | - |
500 | Internal Server Error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
{str: (bool, date, datetime, dict, float, int, list, str, none_type)} get_stat_bulk_raw_data1()
Get stats raw data
import time
import openapi_client
from openapi_client.api import monitoring_app_hosting_api
from pprint import pprint
# Defining the host is optional and defaults to /dataservice
# See configuration.py for a list of all supported configuration parameters.
configuration = openapi_client.Configuration(
host = "/dataservice"
)
# Enter a context with an instance of the API client
with openapi_client.ApiClient() as api_client:
# Create an instance of the API class
api_instance = monitoring_app_hosting_api.MonitoringAppHostingApi(api_client)
query = "{"query":{"field":"latency","type":"long","value":["100"],"operator":"greater"},"size":1,"sort":[{"field":"latency","type":"long","order":"asc"}],"fields":["latency"]}" # str | Query string (optional)
scroll_id = "DXF1ZXJ5QW5kRmV0Y2gBAAAAAAAAAOIWZ1NQbXpvQ29Uc0stNzZ2UzlwTEREUQ==" # str | ES scroll Id (optional)
count = "10" # str | Result size (optional)
# example passing only required values which don't have defaults set
# and optional values
try:
api_response = api_instance.get_stat_bulk_raw_data1(query=query, scroll_id=scroll_id, count=count)
pprint(api_response)
except openapi_client.ApiException as e:
print("Exception when calling MonitoringAppHostingApi->get_stat_bulk_raw_data1: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
query | str | Query string | [optional] |
scroll_id | str | ES scroll Id | [optional] |
count | str | Result size | [optional] |
{str: (bool, date, datetime, dict, float, int, list, str, none_type)}
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Success | - |
400 | Bad Request | - |
403 | Forbidden | - |
500 | Internal Server Error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
{str: (bool, date, datetime, dict, float, int, list, str, none_type)} get_stat_data_fields2()
Get fields and type
import time
import openapi_client
from openapi_client.api import monitoring_app_hosting_api
from pprint import pprint
# Defining the host is optional and defaults to /dataservice
# See configuration.py for a list of all supported configuration parameters.
configuration = openapi_client.Configuration(
host = "/dataservice"
)
# Enter a context with an instance of the API client
with openapi_client.ApiClient() as api_client:
# Create an instance of the API class
api_instance = monitoring_app_hosting_api.MonitoringAppHostingApi(api_client)
# example, this endpoint has no required or optional parameters
try:
api_response = api_instance.get_stat_data_fields2()
pprint(api_response)
except openapi_client.ApiException as e:
print("Exception when calling MonitoringAppHostingApi->get_stat_data_fields2: %s\n" % e)
This endpoint does not need any parameter.
{str: (bool, date, datetime, dict, float, int, list, str, none_type)}
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Success | - |
400 | Bad Request | - |
403 | Forbidden | - |
500 | Internal Server Error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
{str: (bool, date, datetime, dict, float, int, list, str, none_type)} get_stat_data_fields3()
Get fields and type
import time
import openapi_client
from openapi_client.api import monitoring_app_hosting_api
from pprint import pprint
# Defining the host is optional and defaults to /dataservice
# See configuration.py for a list of all supported configuration parameters.
configuration = openapi_client.Configuration(
host = "/dataservice"
)
# Enter a context with an instance of the API client
with openapi_client.ApiClient() as api_client:
# Create an instance of the API class
api_instance = monitoring_app_hosting_api.MonitoringAppHostingApi(api_client)
# example, this endpoint has no required or optional parameters
try:
api_response = api_instance.get_stat_data_fields3()
pprint(api_response)
except openapi_client.ApiException as e:
print("Exception when calling MonitoringAppHostingApi->get_stat_data_fields3: %s\n" % e)
This endpoint does not need any parameter.
{str: (bool, date, datetime, dict, float, int, list, str, none_type)}
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Success | - |
400 | Bad Request | - |
403 | Forbidden | - |
500 | Internal Server Error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
{str: (bool, date, datetime, dict, float, int, list, str, none_type)} get_stat_data_raw_data()
Get stats raw data
import time
import openapi_client
from openapi_client.api import monitoring_app_hosting_api
from pprint import pprint
# Defining the host is optional and defaults to /dataservice
# See configuration.py for a list of all supported configuration parameters.
configuration = openapi_client.Configuration(
host = "/dataservice"
)
# Enter a context with an instance of the API client
with openapi_client.ApiClient() as api_client:
# Create an instance of the API class
api_instance = monitoring_app_hosting_api.MonitoringAppHostingApi(api_client)
query = "{"query":{"condition":"AND","rules":[{"value":["2020-05-10T01:00:00 UTC","2020-05-10T01:30:00 UTC"],"field":"entry_time","type":"date","operator":"between"}]},"aggregation":{"metrics":[{"property":"latency","type":"avg"}]}}" # str | Query string (optional)
page = 1 # int | page number (optional)
page_size = 1 # int | page size (optional)
sort_by = "sortBy_example" # str | sort by(emp:entry_time) (optional)
sort_order = "sortOrder_example" # str | sort order(emp:asc、ASC、Asc、desc、Desc、DESC) (optional)
# example passing only required values which don't have defaults set
# and optional values
try:
api_response = api_instance.get_stat_data_raw_data(query=query, page=page, page_size=page_size, sort_by=sort_by, sort_order=sort_order)
pprint(api_response)
except openapi_client.ApiException as e:
print("Exception when calling MonitoringAppHostingApi->get_stat_data_raw_data: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
query | str | Query string | [optional] |
page | int | page number | [optional] |
page_size | int | page size | [optional] |
sort_by | str | sort by(emp:entry_time) | [optional] |
sort_order | str | sort order(emp:asc、ASC、Asc、desc、Desc、DESC) | [optional] |
{str: (bool, date, datetime, dict, float, int, list, str, none_type)}
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Success | - |
400 | Bad Request | - |
403 | Forbidden | - |
500 | Internal Server Error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
{str: (bool, date, datetime, dict, float, int, list, str, none_type)} get_stat_data_raw_data1()
Get stats raw data
import time
import openapi_client
from openapi_client.api import monitoring_app_hosting_api
from pprint import pprint
# Defining the host is optional and defaults to /dataservice
# See configuration.py for a list of all supported configuration parameters.
configuration = openapi_client.Configuration(
host = "/dataservice"
)
# Enter a context with an instance of the API client
with openapi_client.ApiClient() as api_client:
# Create an instance of the API class
api_instance = monitoring_app_hosting_api.MonitoringAppHostingApi(api_client)
query = "{"query":{"condition":"AND","rules":[{"value":["2020-05-10T01:00:00 UTC","2020-05-10T01:30:00 UTC"],"field":"entry_time","type":"date","operator":"between"}]},"aggregation":{"metrics":[{"property":"latency","type":"avg"}]}}" # str | Query string (optional)
page = 1 # int | page number (optional)
page_size = 1 # int | page size (optional)
sort_by = "sortBy_example" # str | sort by(emp:entry_time) (optional)
sort_order = "sortOrder_example" # str | sort order(emp:asc、ASC、Asc、desc、Desc、DESC) (optional)
# example passing only required values which don't have defaults set
# and optional values
try:
api_response = api_instance.get_stat_data_raw_data1(query=query, page=page, page_size=page_size, sort_by=sort_by, sort_order=sort_order)
pprint(api_response)
except openapi_client.ApiException as e:
print("Exception when calling MonitoringAppHostingApi->get_stat_data_raw_data1: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
query | str | Query string | [optional] |
page | int | page number | [optional] |
page_size | int | page size | [optional] |
sort_by | str | sort by(emp:entry_time) | [optional] |
sort_order | str | sort order(emp:asc、ASC、Asc、desc、Desc、DESC) | [optional] |
{str: (bool, date, datetime, dict, float, int, list, str, none_type)}
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Success | - |
400 | Bad Request | - |
403 | Forbidden | - |
500 | Internal Server Error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
str get_stat_data_raw_data_as_csv()
Get raw data with optional query as CSV
import time
import openapi_client
from openapi_client.api import monitoring_app_hosting_api
from pprint import pprint
# Defining the host is optional and defaults to /dataservice
# See configuration.py for a list of all supported configuration parameters.
configuration = openapi_client.Configuration(
host = "/dataservice"
)
# Enter a context with an instance of the API client
with openapi_client.ApiClient() as api_client:
# Create an instance of the API class
api_instance = monitoring_app_hosting_api.MonitoringAppHostingApi(api_client)
query = "{"query":{"field":"latency","type":"long","value":["100"],"operator":"greater"},"size":1000,"sort":[{"field":"latency","type":"long","order":"asc"}],"fields":["latency"],"aggregation":{"metrics":[{"property":"latency","type":"avg"}]}}" # str | Query string (optional)
# example passing only required values which don't have defaults set
# and optional values
try:
api_response = api_instance.get_stat_data_raw_data_as_csv(query=query)
pprint(api_response)
except openapi_client.ApiException as e:
print("Exception when calling MonitoringAppHostingApi->get_stat_data_raw_data_as_csv: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
query | str | Query string | [optional] |
str
No authorization required
- Content-Type: Not defined
- Accept: text/csv
Status code | Description | Response headers |
---|---|---|
200 | Success | - |
400 | Bad Request | - |
403 | Forbidden | - |
500 | Internal Server Error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
str get_stat_data_raw_data_as_csv1()
Get raw data with optional query as CSV
import time
import openapi_client
from openapi_client.api import monitoring_app_hosting_api
from pprint import pprint
# Defining the host is optional and defaults to /dataservice
# See configuration.py for a list of all supported configuration parameters.
configuration = openapi_client.Configuration(
host = "/dataservice"
)
# Enter a context with an instance of the API client
with openapi_client.ApiClient() as api_client:
# Create an instance of the API class
api_instance = monitoring_app_hosting_api.MonitoringAppHostingApi(api_client)
query = "{"query":{"field":"latency","type":"long","value":["100"],"operator":"greater"},"size":1000,"sort":[{"field":"latency","type":"long","order":"asc"}],"fields":["latency"],"aggregation":{"metrics":[{"property":"latency","type":"avg"}]}}" # str | Query string (optional)
# example passing only required values which don't have defaults set
# and optional values
try:
api_response = api_instance.get_stat_data_raw_data_as_csv1(query=query)
pprint(api_response)
except openapi_client.ApiException as e:
print("Exception when calling MonitoringAppHostingApi->get_stat_data_raw_data_as_csv1: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
query | str | Query string | [optional] |
str
No authorization required
- Content-Type: Not defined
- Accept: text/csv
Status code | Description | Response headers |
---|---|---|
200 | Success | - |
400 | Bad Request | - |
403 | Forbidden | - |
500 | Internal Server Error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
{str: (bool, date, datetime, dict, float, int, list, str, none_type)} get_stat_query_fields2()
Get query fields
import time
import openapi_client
from openapi_client.api import monitoring_app_hosting_api
from pprint import pprint
# Defining the host is optional and defaults to /dataservice
# See configuration.py for a list of all supported configuration parameters.
configuration = openapi_client.Configuration(
host = "/dataservice"
)
# Enter a context with an instance of the API client
with openapi_client.ApiClient() as api_client:
# Create an instance of the API class
api_instance = monitoring_app_hosting_api.MonitoringAppHostingApi(api_client)
# example, this endpoint has no required or optional parameters
try:
api_response = api_instance.get_stat_query_fields2()
pprint(api_response)
except openapi_client.ApiException as e:
print("Exception when calling MonitoringAppHostingApi->get_stat_query_fields2: %s\n" % e)
This endpoint does not need any parameter.
{str: (bool, date, datetime, dict, float, int, list, str, none_type)}
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Success | - |
400 | Bad Request | - |
403 | Forbidden | - |
500 | Internal Server Error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
{str: (bool, date, datetime, dict, float, int, list, str, none_type)} get_stat_query_fields3()
Get query fields
import time
import openapi_client
from openapi_client.api import monitoring_app_hosting_api
from pprint import pprint
# Defining the host is optional and defaults to /dataservice
# See configuration.py for a list of all supported configuration parameters.
configuration = openapi_client.Configuration(
host = "/dataservice"
)
# Enter a context with an instance of the API client
with openapi_client.ApiClient() as api_client:
# Create an instance of the API class
api_instance = monitoring_app_hosting_api.MonitoringAppHostingApi(api_client)
# example, this endpoint has no required or optional parameters
try:
api_response = api_instance.get_stat_query_fields3()
pprint(api_response)
except openapi_client.ApiException as e:
print("Exception when calling MonitoringAppHostingApi->get_stat_query_fields3: %s\n" % e)
This endpoint does not need any parameter.
{str: (bool, date, datetime, dict, float, int, list, str, none_type)}
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Success | - |
400 | Bad Request | - |
403 | Forbidden | - |
500 | Internal Server Error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
{str: (bool, date, datetime, dict, float, int, list, str, none_type)} get_stats_raw_data()
Get stats raw data
import time
import openapi_client
from openapi_client.api import monitoring_app_hosting_api
from pprint import pprint
# Defining the host is optional and defaults to /dataservice
# See configuration.py for a list of all supported configuration parameters.
configuration = openapi_client.Configuration(
host = "/dataservice"
)
# Enter a context with an instance of the API client
with openapi_client.ApiClient() as api_client:
# Create an instance of the API class
api_instance = monitoring_app_hosting_api.MonitoringAppHostingApi(api_client)
page = 1 # int | page number (optional)
page_size = 1 # int | page size (optional)
sort_by = "sortBy_example" # str | sort by (optional)
sort_order = "sortOrder_example" # str | sort order (optional)
body = {} # {str: (bool, date, datetime, dict, float, int, list, str, none_type)} | Stats query string (optional)
# example passing only required values which don't have defaults set
# and optional values
try:
api_response = api_instance.get_stats_raw_data(page=page, page_size=page_size, sort_by=sort_by, sort_order=sort_order, body=body)
pprint(api_response)
except openapi_client.ApiException as e:
print("Exception when calling MonitoringAppHostingApi->get_stats_raw_data: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
page | int | page number | [optional] |
page_size | int | page size | [optional] |
sort_by | str | sort by | [optional] |
sort_order | str | sort order | [optional] |
body | {str: (bool, date, datetime, dict, float, int, list, str, none_type)} | Stats query string | [optional] |
{str: (bool, date, datetime, dict, float, int, list, str, none_type)}
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Success | - |
400 | Bad Request | - |
403 | Forbidden | - |
500 | Internal Server Error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
{str: (bool, date, datetime, dict, float, int, list, str, none_type)} get_stats_raw_data1()
Get stats raw data
import time
import openapi_client
from openapi_client.api import monitoring_app_hosting_api
from pprint import pprint
# Defining the host is optional and defaults to /dataservice
# See configuration.py for a list of all supported configuration parameters.
configuration = openapi_client.Configuration(
host = "/dataservice"
)
# Enter a context with an instance of the API client
with openapi_client.ApiClient() as api_client:
# Create an instance of the API class
api_instance = monitoring_app_hosting_api.MonitoringAppHostingApi(api_client)
page = 1 # int | page number (optional)
page_size = 1 # int | page size (optional)
sort_by = "sortBy_example" # str | sort by (optional)
sort_order = "sortOrder_example" # str | sort order (optional)
body = {} # {str: (bool, date, datetime, dict, float, int, list, str, none_type)} | Stats query string (optional)
# example passing only required values which don't have defaults set
# and optional values
try:
api_response = api_instance.get_stats_raw_data1(page=page, page_size=page_size, sort_by=sort_by, sort_order=sort_order, body=body)
pprint(api_response)
except openapi_client.ApiException as e:
print("Exception when calling MonitoringAppHostingApi->get_stats_raw_data1: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
page | int | page number | [optional] |
page_size | int | page size | [optional] |
sort_by | str | sort by | [optional] |
sort_order | str | sort order | [optional] |
body | {str: (bool, date, datetime, dict, float, int, list, str, none_type)} | Stats query string | [optional] |
{str: (bool, date, datetime, dict, float, int, list, str, none_type)}
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Success | - |
400 | Bad Request | - |
403 | Forbidden | - |
500 | Internal Server Error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]