get-metrics-configuration

Gets the configuration settings of the MicroProfile Metrics service.

Synopsis

asadmin [asadmin-options] get-metrics-configuration [--help]
[--target <instance-name>]

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 the asadmin 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

Exit Status

0

subcommand executed successfully

1

error in executing the subcommand

See Also