| # |
| # Licensed to the Apache Software Foundation (ASF) under one or more |
| # contributor license agreements. See the NOTICE file distributed with |
| # this work for additional information regarding copyright ownership. |
| # The ASF licenses this file to You under the Apache License, Version 2.0 |
| # (the "License"); you may not use this file except in compliance with |
| # the License. You may obtain a copy of the License at |
| # |
| # http://www.apache.org/licenses/LICENSE-2.0 |
| # |
| # Unless required by applicable law or agreed to in writing, software |
| # distributed under the License is distributed on an "AS IS" BASIS, |
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| # See the License for the specific language governing permissions and |
| # limitations under the License. |
| # |
| |
| # The logger configuration. |
| logger: |
| # The log format pattern configuration. |
| log_pattern: ${SATELLITE_LOGGER_LOG_PATTERN:%time [%level][%field] - %msg} |
| # The time format pattern configuration. |
| time_pattern: ${SATELLITE_LOGGER_TIME_PATTERN:2006-01-02 15:04:05.000} |
| # The lowest level of printing allowed. |
| level: ${SATELLITE_LOGGER_LEVEL:info} |
| |
| # The Satellite self telemetry configuration. |
| telemetry: |
| # The space concept for the deployment, such as the namespace concept in the Kubernetes. |
| cluster: ${SATELLITE_TELEMETRY_CLUSTER:satellite-cluster} |
| # The group concept for the deployment, such as the service resource concept in the Kubernetes. |
| service: ${SATELLITE_TELEMETRY_SERVICE:satellite-service} |
| # The minimum running unit, such as the pod concept in the Kubernetes. |
| instance: ${SATELLITE_TELEMETRY_SERVICE:satellite-instance} |
| |
| # The sharing plugins referenced by the specific plugins in the different pipes. |
| sharing: |
| clients: |
| - plugin_name: "grpc-client" |
| # The gRPC server address (default localhost:11800). |
| server_addr: ${SATELLITE_GRPC_CLIENT:127.0.0.1:11800} |
| # The TLS switch |
| enable_TLS: ${SATELLITE_GRPC_ENABLE_TLS:false} |
| # The file path of client.pem. The config only works when opening the TLS switch. |
| client_pem_path: ${SATELLITE_GRPC_CLIENT_PEM_PATH:"client.pem"} |
| # The file path of client.key. The config only works when opening the TLS switch. |
| client_key_path: ${SATELLITE_GRPC_CLIENT_KEY_PATH:"client.key"} |
| # InsecureSkipVerify controls whether a client verifies the server's certificate chain and host name. |
| insecure_skip_verify: ${SATELLITE_GRPC_INSECURE_SKIP_VERIFY:false} |
| # The file path oca.pem. The config only works when opening the TLS switch. |
| ca_pem_path: ${SATELLITE_grpc_CA_PEM_PATH:"ca.pem"} |
| # How frequently to check the connection |
| check_period: ${SATELLITE_GRPC_CHECK_PERIOD:5} |
| # The auth value when send request |
| authentication: ${SATELLITE_GRPC_AUTHENTICATION:""} |
| servers: |
| - plugin_name: "grpc-server" |
| # The address of grpc server. |
| address: ${SATELLITE_GRPC_ADDRESS:":11800"} |
| # The TLS cert file path. |
| tls_cert_file: ${SATELLITE_GRPC_TLS_KEY_FILE:""} |
| # The TLS key file path. |
| tls_key_file: ${SATELLITE_GRPC_TLS_KEY_FILE:""} |
| - plugin_name: "prometheus-server" |
| # The prometheus server address. |
| address: ${SATELLITE_PROMETHEUS_ADDRESS:":1234"} |
| # The prometheus server metrics endpoint. |
| endpoint: ${SATELLITE_PROMETHEUS_ENDPOINT:"/metrics"} |
| |
| # The working pipe configurations. |
| pipes: |
| - common_config: |
| pipe_name: logpipe |
| gatherer: |
| server_name: "grpc-server" |
| receiver: |
| plugin_name: "grpc-nativelog-receiver" |
| queue: |
| plugin_name: "memory-queue" |
| # The maximum buffer event size. |
| event_buffer_size: ${SATELLITE_QUEUE_EVENT_BUFFER_SIZE:5000} |
| processor: |
| filters: |
| sender: |
| fallbacker: |
| plugin_name: none-fallbacker |
| # The time interval between two flush operations. And the time unit is millisecond. |
| flush_time: ${SATELLITE_LOGPIPE_SENDER_FLUSH_TIME:1000} |
| # The maximum buffer elements. |
| max_buffer_size: ${SATELLITE_LOGPIPE_SENDER_MAX_BUFFER_SIZE:200} |
| # The minimum flush elements. |
| min_flush_events: ${SATELLITE_LOGPIPE_SENDER_MIN_FLUSH_EVENTS:100} |
| client_name: grpc-client |
| forwarders: |
| - plugin_name: nativelog-grpc-forwarder |
| - common_config: |
| pipe_name: managementpipe |
| gatherer: |
| server_name: "grpc-server" |
| receiver: |
| plugin_name: "grpc-nativemanagement-receiver" |
| queue: |
| plugin_name: "memory-queue" |
| # The maximum buffer event size. |
| event_buffer_size: ${SATELLITE_QUEUE_EVENT_BUFFER_SIZE:5000} |
| processor: |
| filters: |
| sender: |
| fallbacker: |
| plugin_name: none-fallbacker |
| # The time interval between two flush operations. And the time unit is millisecond. |
| flush_time: ${SATELLITE_LOGMANAGEMENT_SENDER_FLUSH_TIME:1000} |
| # The maximum buffer elements. |
| max_buffer_size: ${SATELLITE_LOGMANAGEMENT_SENDER_MAX_BUFFER_SIZE:20} |
| # The minimum flush elements. |
| min_flush_events: ${SATELLITE_LOGMANAGEMENT_SENDER_MIN_FLUSH_EVENTS:1} |
| client_name: grpc-client |
| forwarders: |
| - plugin_name: nativemanagement-grpc-forwarder |
| - common_config: |
| pipe_name: tracingpipe |
| gatherer: |
| server_name: "grpc-server" |
| receiver: |
| plugin_name: "grpc-nativetracing-receiver" |
| queue: |
| plugin_name: "memory-queue" |
| # The maximum buffer event size. |
| event_buffer_size: ${SATELLITE_QUEUE_EVENT_BUFFER_SIZE:5000} |
| processor: |
| filters: |
| sender: |
| fallbacker: |
| plugin_name: none-fallbacker |
| # The time interval between two flush operations. And the time unit is millisecond. |
| flush_time: ${SATELLITE_TRACINGPIPE_SENDER_FLUSH_TIME:1000} |
| # The maximum buffer elements. |
| max_buffer_size: ${SATELLITE_TRACINGPIPE_SENDER_MAX_BUFFER_SIZE:200} |
| # The minimum flush elements. |
| min_flush_events: ${SATELLITE_TRACINGPIPE_SENDER_MIN_FLUSH_EVENTS:1} |
| client_name: grpc-client |
| forwarders: |
| - plugin_name: nativetracing-grpc-forwarder |
| - common_config: |
| pipe_name: profilepipe |
| gatherer: |
| server_name: "grpc-server" |
| receiver: |
| plugin_name: "grpc-nativeprofile-receiver" |
| queue: |
| plugin_name: "memory-queue" |
| # The maximum buffer event size. |
| event_buffer_size: ${SATELLITE_QUEUE_EVENT_BUFFER_SIZE:5000} |
| processor: |
| filters: |
| sender: |
| fallbacker: |
| plugin_name: none-fallbacker |
| # The time interval between two flush operations. And the time unit is millisecond. |
| flush_time: ${SATELLITE_PROFILEPIPE_SENDER_FLUSH_TIME:1000} |
| # The maximum buffer elements. |
| max_buffer_size: ${SATELLITE_PROFILEPIPE_SENDER_MAX_BUFFER_SIZE:200} |
| # The minimum flush elements. |
| min_flush_events: ${SATELLITE_PROFILEPIPE_SENDER_MIN_FLUSH_EVENTS:1} |
| client_name: grpc-client |
| forwarders: |
| - plugin_name: nativeprofile-grpc-forwarder |
| - common_config: |
| pipe_name: cdspipe |
| gatherer: |
| server_name: "grpc-server" |
| receiver: |
| plugin_name: "grpc-nativecds-receiver" |
| queue: |
| plugin_name: "none-queue" |
| processor: |
| filters: |
| sender: |
| fallbacker: |
| plugin_name: none-fallbacker |
| client_name: grpc-client |
| forwarders: |
| - plugin_name: nativecds-grpc-forwarder |
| - common_config: |
| pipe_name: eventpipe |
| gatherer: |
| server_name: "grpc-server" |
| receiver: |
| plugin_name: "grpc-nativeevent-receiver" |
| queue: |
| plugin_name: "memory-queue" |
| processor: |
| filters: |
| sender: |
| fallbacker: |
| plugin_name: none-fallbacker |
| # The time interval between two flush operations. And the time unit is millisecond. |
| flush_time: ${SATELLITE_EVENTPIPE_SENDER_FLUSH_TIME:1000} |
| # The maximum buffer elements. |
| max_buffer_size: ${SATELLITE_EVENTPIPE_SENDER_MAX_BUFFER_SIZE:200} |
| # The minimum flush elements. |
| min_flush_events: ${SATELLITE_EVENTPIPE_SENDER_MIN_FLUSH_EVENTS:1} |
| client_name: grpc-client |
| forwarders: |
| - plugin_name: nativeevent-grpc-forwarder |
| - common_config: |
| pipe_name: jvmpipe |
| gatherer: |
| server_name: "grpc-server" |
| receiver: |
| plugin_name: "grpc-nativejvm-receiver" |
| queue: |
| plugin_name: "memory-queue" |
| processor: |
| filters: |
| sender: |
| fallbacker: |
| plugin_name: none-fallbacker |
| # The time interval between two flush operations. And the time unit is millisecond. |
| flush_time: ${SATELLITE_JVMPIPE_SENDER_FLUSH_TIME:1000} |
| # The maximum buffer elements. |
| max_buffer_size: ${SATELLITE_JVMPIPE_SENDER_MAX_BUFFER_SIZE:200} |
| # The minimum flush elements. |
| min_flush_events: ${SATELLITE_JVMPIPE_SENDER_MIN_FLUSH_EVENTS:1} |
| client_name: grpc-client |
| forwarders: |
| - plugin_name: nativejvm-grpc-forwarder |
| - common_config: |
| pipe_name: meterpipe |
| gatherer: |
| server_name: "grpc-server" |
| receiver: |
| plugin_name: "grpc-nativemeter-receiver" |
| queue: |
| plugin_name: "memory-queue" |
| processor: |
| filters: |
| sender: |
| fallbacker: |
| plugin_name: none-fallbacker |
| # The time interval between two flush operations. And the time unit is millisecond. |
| flush_time: ${SATELLITE_METERPIPE_SENDER_FLUSH_TIME:1000} |
| # The maximum buffer elements. |
| max_buffer_size: ${SATELLITE_METERPIPE_SENDER_MAX_BUFFER_SIZE:200} |
| # The minimum flush elements. |
| min_flush_events: ${SATELLITE_METERPIPE_SENDER_MIN_FLUSH_EVENTS:1} |
| client_name: grpc-client |
| forwarders: |
| - plugin_name: nativemeter-grpc-forwarder |