Creating a Query for Connectors
Define a query for connector metric data (oci_service_connector_hub
).
For an example query, see Example Query and Metric Chart.
For more information about these metrics, see Connector Hub Metrics Reference.
For query troubleshooting, see Troubleshooting Queries.
To create a user-defined query for connector metric data in the Console, use the Metrics Explorer page.
These steps show how to create a query in Basic mode. To create a query in Advanced mode (MQL), see Editing the MQL Expression for a Query.
For information about directly editing MQL expressions or changing queries by using the CLI or API, see Editing the MQL Expression for a Query. For other querying tasks, see Querying Metric Data.
Use the oci monitoring metric-data summarize-metrics-data command and required parameters to query metric data. To query Connector Hub metrics, set
--namespace
tooci_service_connector_hub
.oci monitoring metric-data summarize-metrics-data --namespace oci_service_connector_hub [...]
For a complete list of parameters and values for CLI commands, see the Command Line Reference for Monitoring.
Run the SummarizeMetricsData operation to query metric data. To query Connector Hub metrics, set
namespace
tooci_service_connector_hub
.