--- WARNING: THIS IS AN AUTO-GENERATED FILE, DO NOT EDIT. PLEASE MODIFY THE ORIGINAL SOURCE IN THE 'https://github.com/istio/istio' REPO source_repo: https://github.com/istio/istio title: SolarWinds description: Adapter to deliver logs and metrics to Papertrail and AppOptics backends. location: https://istio.io/docs/reference/config/policy-and-telemetry/adapters/solarwinds.html layout: protoc-gen-docs generator: protoc-gen-docs supported_templates: metric,logentry aliases: - /zh/docs/reference/config/adapters/solarwinds.html number_of_entries: 3 ---
The solarwinds
adapter enables Istio to deliver log and metric data to the
Papertrail logging backend and the
AppOptics monitoring backend.
This adapter supports the metric template and the logentry template.
Configuration format for the solarwinds
adapter.
Example config usage:
apiVersion: "config.istio.io/v1alpha2"
kind: handler
metadata:
name: solarwinds
namespace: istio-system
spec:
compiledAdapter: solarwinds
params:
appoptics_access_token: <APPOPTICS SAMPLE TOKEN>
papertrail_url: <PAPERTRAIL URL>
papertrail_local_retention_duration: <RETENTION PERIOD FOR LOGS LOCALLY, Optional>
metrics:
requestcount.metric.istio-system:
label_names:
- source_service
- source_version
- destination_service
- destination_version
- response_code
requestduration.metric.istio-system:
label_names:
- source_service
- source_version
- destination_service
- destination_version
- response_code
requestsize.metric.istio-system:
label_names:
- source_service
- source_version
- destination_service
- destination_version
- response_code
responsesize.metric.istio-system:
label_names:
- source_service
- source_version
- destination_service
- destination_version
- response_code
tcpbytesent.metric.istio-system:
label_names:
- source_service
- source_version
- destination_service
- destination_version
tcpbytereceived.metric.istio-system:
label_names:
- source_service
- source_version
- destination_service
- destination_version
logs:
solarwindslogentry.logentry.istio-system:
payloadTemplate: '{{or (.originIp) "-"}} - {{or (.sourceUser) "-"}} [{{or (.timestamp.Format "2006-01-02T15:04:05Z07:00") "-"}}] "{{or (.method) "-"}} {{or (.url) "-"}} {{or (.protocol) "-"}}" {{or (.responseCode) "-"}} {{or (.responseSize) "-"}}'
Describes how to represent an Istio log entry in Solarwinds AppOptics
Describes how to represent an Istio metric in Solarwinds AppOptics