Table of Contents
search
Search Objects
class Search()
The class includes all necessary methods to access the Grafana search API endpoints
Arguments:
grafana_api_modelAPIModel - Inject a Grafana API model object that includes all necessary values and information
Attributes:
grafana_api_modelAPIModel - This is where we store the grafana_api_model
search
def search(search_query: str) -> list
The method includes a functionality to execute a custom query
Arguments:
search_querystr - Specify the inserted query as string
Raises:
ValueError- Missed specifying a necessary valueException- Unspecified error by executing the API call
Returns:
api_calllist - Returns the list of query the results