Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Apdex |
build() |
Apdex.Builder |
copy(Apdex model) |
Apdex.Builder |
displayName(String displayName)
The name by which a configuration entity is displayed to the end user.
|
Apdex.Builder |
filterText(String filterText)
The string that defines the Span Filter expression.
|
Apdex.Builder |
isApplyToErrorSpans(Boolean isApplyToErrorSpans)
Specifies whether an Apdex score should be computed for error spans.
|
Apdex.Builder |
isEnabled(Boolean isEnabled)
Specifies whether the Apdex score should be computed for spans matching the rule.
|
Apdex.Builder |
priority(Integer priority)
The priority controls the order in which multiple rules in a rule set are applied.
|
Apdex.Builder |
satisfiedResponseTime(Integer satisfiedResponseTime)
The maximum response time in milliseconds that is considered “satisfactory” for the end
user.
|
Apdex.Builder |
toleratingResponseTime(Integer toleratingResponseTime)
The maximum response time in milliseconds that is considered “tolerable” for the end
user.
|
public Apdex.Builder filterText(String filterText)
The string that defines the Span Filter expression.
filterText
- the value to setpublic Apdex.Builder priority(Integer priority)
The priority controls the order in which multiple rules in a rule set are applied. Lower values indicate higher priorities. Rules with higher priority are applied first, and once a match is found, the rest of the rules are ignored. Rules within the same rule set cannot have the same priority.
priority
- the value to setpublic Apdex.Builder isEnabled(Boolean isEnabled)
Specifies whether the Apdex score should be computed for spans matching the rule. This can be used to disable Apdex score for spans that do not need or require it. The default is “true”.
isEnabled
- the value to setpublic Apdex.Builder satisfiedResponseTime(Integer satisfiedResponseTime)
The maximum response time in milliseconds that is considered “satisfactory” for the end user.
satisfiedResponseTime
- the value to setpublic Apdex.Builder toleratingResponseTime(Integer toleratingResponseTime)
The maximum response time in milliseconds that is considered “tolerable” for the end user. A response time beyond this threshold is considered “frustrating”. This value cannot be lower than “satisfiedResponseTime”.
toleratingResponseTime
- the value to setpublic Apdex.Builder isApplyToErrorSpans(Boolean isApplyToErrorSpans)
Specifies whether an Apdex score should be computed for error spans. Setting it to “true” means that the Apdex score is computed in the usual way. Setting it to “false” skips the Apdex computation and sets the Apdex score to “frustrating” regardless of the configured thresholds. The default is “false”.
isApplyToErrorSpans
- the value to setpublic Apdex.Builder displayName(String displayName)
The name by which a configuration entity is displayed to the end user.
displayName
- the value to setpublic Apdex build()
public Apdex.Builder copy(Apdex model)
Copyright © 2016–2024. All rights reserved.