A set of HPA metrics are exported during each debug session.
The main configuration of this functionality is reachable in application.yml
of the exporter.
Please find the default configuration, modifiable according to customer expectations.
directory: $BASEDIR_DUMPSESSION/metrics
replacement-char: "@"
extract-period-in-hour: 8
sub-char: ":"
forbidden-chars:
- "'"
- "\""
- ";"
- ","
- "."
- "|"
- "`"
- "\\"
- "@"
anonymization-keys-file: $BASEDIR_EXPORT/anonymization/anonymizationKeys.txt
An anonymisation mechanism is available to hide sensitive data potentially present in HPA metric names paths.
All the dates relative to processing export data are shared in UTC only.
A metrics_export.yml
is provided by default and is matching with Nasdaq Calypso expectations.
hpa.metrics-export.metrics:
- name: HpaTradeSave
agent-name: DataServer%
metric-path: Hpa|RulesWorkflow|%
metric-attribute: "%"
end-point-name: Average Response Time
levels:
- level: 1
replace: true
replace-value: Trade saver
- level: 2
anonymization: true
- level: 4
anonymization: true
- level: 5
sub: true
- name: HpaWorkflowRule
agent-name: DataServer%
metric-path: Hpa|Rules|%
metric-attribute: "%"
end-point-name: Average Response Time
levels:
- level: 3
anonymization: true
- level: 5
anonymization: true
- level: 8
sub: true
- name: DataServerFrontEnd
agent-name: DataServer%
metric-path: Frontends|%Average Response%
metric-attribute: "%"
end-point-name: Average Response Time
levels:
- level: 1
remove: true
- level: 2
sub: true
- level: 3
sub: true
- name: PendingEvents
agent-name: EngineServer%
metric-path: Frontends|%JMX TotalUnconsumedCount%
metric-attribute: "%"
end-point-name: Number of pending events
levels:
- level: 0
remove: true
- level: 1
remove: true
- level: 2
sub: true
- name: BadEvents
agent-name: EngineServer%
metric-path: Frontends|%JMX BadEventsCount%
metric-attribute: "%"
end-point-name: Number of bad events
levels:
- level: 0
remove: true
- level: 1
remove: true
- level: 2
sub: true
- name: ProcessedEvents
agent-name: EngineServer%
metric-path: Frontends|%JMX ConsumedCount%
metric-attribute: "%"
end-point-name: Number of bad events
levels:
- level: 0
remove: true
- level: 1
remove: true
- level: 2
sub: true
- name: ProcessCPUTime
agent-name: "%"
metric-path: Hpa|%processCpuTime%
metric-attribute: "%"
end-point-name: Process CPU time
levels:
- level: 2
sub: true
- name: AliveProcessTime
agent-name: "%"
metric-path: Hpa|%aliveProcessTime%
metric-attribute: "%"
end-point-name: Alive process time
levels:
- level: 2
remove: true
- name: NavigatorsUsage
agent-name: "Navigator%"
metric-path: Hpa|NavigatorSessions%
metric-attribute: "%"
end-point-name: Count
levels:
- level: 0
remove: true
- level: 1
remove: true
- level: 2
anonymization: true
- level: 7
sub: true
HPA metrics names are transformed to a Nasdaq Calypso expected format.
Each level of the metric can be configured via specific keywords:
Keyword | Value(s) | Impact |
---|---|---|
anonymization | true | The values of those fieds will be replaced by consistent random labels |
remove | true | This level will be removed from the exported data |
sub | true | Only the start of the value, before the sub-char will be exported |
end | true | Only the end of the value, after the sub-char will be exported |
replace | true | Will replace the value by the one defined in replace-value |
replace-value | any | Constant value |