Summary

The updateFlightRecorderHostSettings() mutation updates Java Flight Recorder (JFR) settings for a specific host, overriding the cluster-wide defaults for that node. Only fields present in the input are changed.

Syntax

graphql
updateFlightRecorderHostSettings(
      input: UpdateFlightRecorderHostSettingsInput!
   ): Boolean!

The mutation accepts an UpdateFlightRecorderHostSettingsInput input object and returns a Boolean! indicating whether the update was successful.

Input Parameters

The mutation accepts a single UpdateFlightRecorderHostSettingsInput input object. The following table describes the available fields:

Table: UpdateFlightRecorderHostSettingsInput Input

ParameterTypeRequiredDefaultStabilityAvailabilityDescription
clearOverridesBoolean   added in 1.257If true, clear all host overrides (other fields ignored)
configurationNameString   added in 1.257Override JFR configuration name for this host. Mutually exclusive with configurationXml.
configurationXmlString   added in 1.257Override JFR XML configuration for this host. Mutually exclusive with configurationName. Max 64KB.
enabledBoolean   added in 1.257Override whether recording is enabled for this host
vhostIntyes  added in 1.257The vhost to change the settings for
windowDurationMinutesLong   added in 1.257Override recording window duration in minutes for this host