Visit Azul.com Support

Set-Monitoring-Service-Configuration

Table of Contents
Need help?
Schedule a consultation with an Azul performance expert.
Contact Us

Configures the monitoring service.

Synopsis

 
asadmin [asadmin-options] set-monitoring-service-configuration [--help] [--target target] [--enabled={false|true}] [--mbeansenabled={false|true}] [--dtraceenabled={false|true}] [--otelenabled={false|true}]

Description

This command can be used to configure the basic settings of the Monitoring service.

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

This option helps specify the target on which you are configuring the monitoring service. Valid values are:

server

Applies to the default server instance. This is the default value.

cluster_name

Applies to every server instance in the cluster.

instance_name

Applies to a specified server instance.

--enabled

Defaults to false. Enables or disables the monitoring service

--mbeansenabled

Defaults to false. Whether to enable or disable MBean monitoring.

--dtraceenabled

Defaults to false. Whether to enable or disable the DTrace monitoring.

--otelenabled

Defaults to false. Enables or disables server-wide OpenTelemetry. Requires a server restart to take effect. Further OpenTelemetry configuration (exporters, sampling, resource attributes, and so on) is done via MicroProfile Config properties — see OpenTelemetry configuration.

Examples

Example 1 Basic configuration of the monitoring service

 
asadmin set-monitoring-service-configuration --enabled=true --mbeansenabled=true --target=server

Exit Status

0

subcommand executed successfully

1

error in executing the subcommand

See Also