Skip to content

Commit 2f25f64

Browse files
authored
Merge pull request #135 from cloudfoundry-community/develop
Merge latest Tile related changes to master
2 parents af58d23 + 2d601e0 commit 2f25f64

File tree

2 files changed

+58
-5
lines changed

2 files changed

+58
-5
lines changed

tile/tile-history.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
22
history:
33
- 0.2.1
4-
version: 1.0.0
4+
- 1.0.0
5+
version: 1.0.1

tile/tile.yml

Lines changed: 56 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -119,21 +119,73 @@ forms:
119119
label: Enable Event Tracing
120120
default: false
121121
description: Enables data loss tracing.
122-
122+
- name: hec_retries
123+
type: integer
124+
label: HEC Retries
125+
default: 5
126+
description: The retry count for sending events to the Splunk platform. Events not successfully sent after this number of retries will be dropped, causing data loss.
127+
- name: hec_batch_size
128+
type: integer
129+
label: HEC Batch Size
130+
default: 100
131+
description: The number of events per batch sent to Splunk HTTP Event Collector.
132+
- name: hec_workers
133+
type: integer
134+
label: HEC Workers
135+
default: 8
136+
description: The number of concurrent workers sending data to Splunk HTTP Event Collector. Scale this number to your Splunk platform data collection capacity accordingly.
137+
- name: consumer_queue_size
138+
type: integer
139+
label: Consumer Queue Size
140+
default: 10000
141+
description: The internal consumer queue buffer size. Events will be sent to your Splunk platform after queue is full.
142+
- name: flush_interval
143+
type: string
144+
label: Flush Interval
145+
default: 5s
146+
description: Time interval (in sec) for flushing queue to the Splunk platform regardless of Consumer Queue Size. Prevents stale events in low throughput systems.
147+
- name: missing_app_cache_invalidate_ttl
148+
type: string
149+
label: Missing App Cache Invalidate TTL
150+
default: 0s
151+
description: Time interval (in sec) between refreshing the missing app info cache. Set to 0 to maintain cache until nozzle restart.
152+
- name: app_cache_invalidate_ttl
153+
type: string
154+
label: App Cache Invalidate TTL
155+
default: 0s
156+
description: Time interval (in sec) between refreshing the app info local cache. Set to 0 to only populate the cache during startup or restart of the nozzle.
157+
- name: app_limits
158+
type: integer
159+
label: App Limits
160+
default: 0
161+
description: The number of apps for which metadata is gathered when refreshing the app metadata cache (order based on app creation date). Set to 0 to remove limit.
162+
- name: ignore_missing_app
163+
type: boolean
164+
label: Ignore Missing App
165+
default: true
166+
description: Do not trigger an app metadata refresh when encountering data from an app without info in the app metadata cache.
123167

124168
packages:
125169
- name: splunk-firehose-nozzle
126170
type: app
127171
label: Splunk-Firehose-Nozzle
128172
manifest:
129173
memory: 256M
130-
instances: MY_INSTANCE_COUNT
174+
instances: (( .properties.scale_out_nozzle.value ))
131175
buildpack: binary_buildpack
132176
health-check-type: process
133177
no-route: true
134178
path: ../splunk-firehose-nozzle
135179
command: ./splunk-firehose-nozzle
136180
env:
137181
GOPACKAGENAME: main
138-
pre_deploy: |
139-
sed -i "s/MY_INSTANCE_COUNT/$SCALE_OUT_NOZZLE/g" $PACKAGE_PATH/splunk_firehose_nozzle/manifest.yml
182+
183+
184+
185+
186+
187+
188+
189+
190+
191+

0 commit comments

Comments
 (0)