This repository has been archived by the owner on Jun 25, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathspec
96 lines (79 loc) · 4.11 KB
/
spec
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
---
name: stackdriver-nozzle
templates:
stackdriver-nozzle-ctl.erb: bin/stackdriver-nozzle-ctl
application_default_credentials.json.erb: config/application_default_credentials.json
event_filters.json.erb: config/event_filters.json
packages:
- stackdriver-nozzle
- common
properties:
firehose.endpoint:
description: CF API endpoint
firehose.username:
description: CF user (requires doppler.firehose and cloud_controller.admin_read_only)
firehose.password:
description: Password for firehose.username
firehose.skip_ssl:
description: Skip SSL validation (for self signed certs, useful in dev environments)
default: false
firehose.events_to_stackdriver_logging:
description: Whitelisted event types to send to Stackdriver Logging (comma separated). Valid values include LogMessage,Error,HttpStartStop,CounterEvent,ValueMetric,ContainerMetric
default: LogMessage,Error
firehose.events_to_stackdriver_monitoring:
description: Whitelisted event types to send to Stackdriver Monitoring (comma separated). Valid values include CounterEvent,ValueMetric,ContainerMetric
default: CounterEvent,ValueMetric,ContainerMetric
firehose.subscription_id:
description: Subscription ID for the firehose nozzle
default: stackdriver-nozzle
firehose.newline_token:
description: Token to be replaced with newlines in log messages (so multiline log messages are collected into a single log event in Stackdriver)
gcp.project_id:
description: Google Cloud Platform project ID (optional if on GCP)
credentials.application_default_credentials:
description: Contents of application_default_credentials.json, see https://cloud.google.com/logging/docs/agent/authorization#configuring_client_id_authorization.
nozzle.metrics_buffer_duration:
description: Flush interval (in seconds) of the internal metric buffer
default: 30
nozzle.metrics_batch_size:
description: Batch size for time series being sent to Stackdriver
default: 200
nozzle.logging_batch_count:
description: Batch size for log messages being sent to Stackdriver
default: 1000
nozzle.logging_batch_duration:
description: Flush interval (in seconds) of the internal logging buffer
default: 30
nozzle.logging_requests_in_flight
description: The maximum permitted number of concurrent in-flight requests to Stackdriver Logging.
default: 16
nozzle.debug:
description: Enable debug features for the stackdriver-nozzle for development or troubleshooting
default: false
nozzle.resolve_app_metadata:
description: Enable resolution of app metadata from appGuid
default: true
nozzle.metric_path_prefix:
description: Prefix added to all metric names being sent to Stackdriver, e.g. 'custom/PREFIX/gorouter.total_requests'. May contain slashes.
default: firehose
nozzle.foundation_name:
description: Name added as the 'foundation' label to all time series being sent to Stackdriver, useful for differentiating between multiple PCF instances in a project.
default: cf
nozzle.enable_cumulative_counters:
description: Enable reporting counter events as cumulative Stackdriver metrics. This requires all CounterEvent messages for a given metric to be routed to the same nozzle process (which is the case if you run a single copy of the nozzle).
default: false
nozzle.enable_app_http_metrics:
description: Enable generation of per-app HTTP metrics from HttpStartStop events.
default: false
nozzle.event_filters.blacklist:
description: |
Should contain an array of maps with three keys 'sink' (valid values:
'logging', 'monitoring', or 'all'), 'type' (valid values: 'name' or 'job')
and 'regexp' (must be a valid regexp). Events matching these filters will
not be processed by the Nozzle.
nozzle.event_filters.whitelist:
description: |
Should contain an array of maps with three keys 'sink' (valid values:
'logging', 'monitoring', or 'all'), 'type' (valid values: 'name' or 'job')
and 'regexp' (must be a valid regexp). Events matching these filters will
be processed by the Nozzle even if they also match a blacklist filter.