summaryrefslogtreecommitdiffstats
path: root/sparky/appconfig/elasticsearch.properties
blob: 126b407516e6fddbbd1605dadc08a10bf313fccc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
#######################################################################################
############################## ElasticSearch Config ###################################
#######################################################################################

############################## Networking ##############################
#
# The ip address/hostname and port to the desired AAI instance
# For development it's recommended to use a local instance of ES
#
elasticsearch.ipAddress=aai.elasticsearch.simpledemo.openecomp.org
elasticsearch.httpPort=9200
elasticsearch.javaApiPort=8443

############################## Indexes ##############################
#
# Index names for various searches.
#
elasticsearch.indexName=entity-search-index
elasticsearch.autosuggestIndexname=entity-autosuggest-index

# Default document type
elasticsearch.type=default

############################## Index Mappings and Settings ##############################
#
# JSON files for sparky elasticsearch indexes.
#
elasticsearch.mappingsFileName=/etc/es_mappings.json
elasticsearch.settingsFileName=/etc/es_settings.json
elasticsearch.autosuggestSettingsFileName=/etc/autoSuggestSettings.json
elasticsearch.autosuggestMappingsFileName=/etc/autoSuggestMappings.json
elasticsearch.dynamicMappingsFileName=/etc/dynamicMappings.json
elasticsearch.entityCountHistoryMappingsFileName=/etc/entityCountHistoryMappings.json

############################## Statistics Report Formatting ##############################
#
# During synchronization, a formatted statisitics log is generated.
#
# Response size in bytes histogram
elasticsearch.taskProcessor.bytesHistogramLabel="[Response Size In Bytes]"
elasticsearch.taskProcessor.bytesHistogramMaxYAxis=1000000
elasticsearch.taskProcessor.bytesHistogramNumBins=20
elasticsearch.taskProcessor.bytesHistogramNumDecimalPoints=2
# "Work on Hand" statisitcs for external resource requests
elasticsearch.taskProcessor.queueLengthHistogramLabel="[Queue Item Length]"
elasticsearch.taskProcessor.queueLengthHistogramMaxYAxis=20000
elasticsearch.taskProcessor.queueLengthHistogramNumBins=20
elasticsearch.taskProcessor.queueLengthHistogramNumDecimalPoints=2
# Time on queue (how long does a task stay on the work queue)
elasticsearch.taskProcessor.taskAgeHistogramLabel="[Task Age In Ms]"
elasticsearch.taskProcessor.taskAgeHistogramMaxYAxis=600000
elasticsearch.taskProcessor.taskAgeHistogramNumBins=20
elasticsearch.taskProcessor.taskAgeHistogramNumDecimalPoints=2
# Per transaction response time for external resource requests
elasticsearch.taskProcessor.responseTimeHistogramLabel="[Response Time In Ms]"
elasticsearch.taskProcessor.responseTimeHistogramMaxYAxis=1000
elasticsearch.taskProcessor.responseTimeHistogramNumBins=20
elasticsearch.taskProcessor.responseTimeHistogramNumDecimalPoints=2
# Transaction throughput velocity
elasticsearch.taskProcessor.tpsHistogramLabel="[Transactions Per Second]"
elasticsearch.taskProcessor.tpsHistogramMaxYAxis=100
elasticsearch.taskProcessor.tpsHistogramNumBins=20
elasticsearch.taskProcessor.tpsHistogramNumDecimalPoints=2

############################## Deprecated, to be removed or updated ##############################
elasticsearch.taskProcessor.maxConcurrentWorkers=5
elasticsearch.taskProcessor.transactionRateControllerEnabled=false
elasticsearch.taskProcessor.numSamplesPerThreadForRunningAverage=100
elasticsearch.taskProcessor.targetTPS=100
elasticsearch.clusterName=ES_AAI_LOCALHOST