get-metrics-configuration
Gets the configuration settings of the MicroProfile Metrics service.
Description
The get-metrics-configuration
returns the current configuration options for the metrics service on the targeted configuration.
Options
- asadmin-options
-
Options for the
asadmin
utility. For information about these options, see theasadmin
help page. --help
-?
-
Displays the help text for the subcommand.
--target
-
Specifies the target for its respective configuration.
Valid values are as follows:server
-
Specifies the DAS (default).
- instance-name
-
Specifies a Payara Server instance.
- cluster-name
-
Specifies a cluster.
- configuration-name
-
Specifies a named configuration.
Example
Example 1 Getting the configuration of the metrics service
This example get the metrics service configuration of the dg1
deployment group
asadmin get-metrics-configuration --target dg1