OpenTelemetry Bot d680729c09 [chore] Prepare release 0.90.0 (#29543) 1 year ago
..
internal 6c250f3fc1 [exporter/skywalking] use generated status header (#22116) 1 year ago
testdata be499049ce [chore] Change exporter config tests to unmarshal config only for that component. (part3) (#14954) 2 years ago
Makefile 0ba52a57f2 Add skywalking log exporter (#4956) 3 years ago
README.md 562dc48d10 Link component issue badges to the respective issue page (#24642) 1 year ago
config.go 5133f4ccd6 [chore] use license shortform (#22052) 1 year ago
config_test.go 6c250f3fc1 [exporter/skywalking] use generated status header (#22116) 1 year ago
doc.go 6c250f3fc1 [exporter/skywalking] use generated status header (#22116) 1 year ago
factory.go 6c250f3fc1 [exporter/skywalking] use generated status header (#22116) 1 year ago
factory_test.go d152a936c6 [chore] dependabot updates Tue Oct 24 15:25:38 UTC 2023 (#28572) 1 year ago
go.mod d680729c09 [chore] Prepare release 0.90.0 (#29543) 1 year ago
go.sum 40b485f08a Update core for v0.90.0 release (#29539) 1 year ago
logrecord_to_logdata.go 5133f4ccd6 [chore] use license shortform (#22052) 1 year ago
logrecord_to_logdata_test.go 5133f4ccd6 [chore] use license shortform (#22052) 1 year ago
metadata.yaml 8a4348cb00 [chore] add codeowners to metadata (#24404) 1 year ago
metricrecord_to_metricdata.go 07ae612844 [chore][exporter/skywalking] enable exhaustive linter (#25158) 1 year ago
metricrecord_to_metricdata_test.go 5133f4ccd6 [chore] use license shortform (#22052) 1 year ago
skywalking.go 5133f4ccd6 [chore] use license shortform (#22052) 1 year ago
skywalking_benchmark_test.go 5133f4ccd6 [chore] use license shortform (#22052) 1 year ago
skywalking_test.go 5133f4ccd6 [chore] use license shortform (#22052) 1 year ago

README.md

SkyWalking gRPC Exporter

Status
Stability beta: metrics, logs
Distributions contrib
Issues Open issues Closed issues
Code Owners @liqiangz

Exports data via gRPC using skywalking-data-collect-protocol format. By default, this exporter requires TLS and offers queued retry capabilities.

Getting Started

The following settings are required:

  • endpoint (no default): host:port to which the exporter is going to send SkyWalking log data, using the gRPC protocol. The valid syntax is described here. If a scheme of https is used then client transport security is enabled and overrides the insecure setting.

  • num_streams (default = 2): the number of grpc streams that send the gRPC requests.

By default, TLS is enabled and must be configured under tls::

  • insecure (default = false): whether to enable client transport security for the exporter's connection.

As a result, the following parameters are also required under tls::

  • cert_file (no default): path to the TLS cert to use for TLS required connections. Should only be used if insecure is set to false.
  • key_file (no default): path to the TLS key to use for TLS required connections. Should only be used if insecure is set to false.

Example:

exporters:
  skywalking:
    endpoint: "192.168.1.5:11800"
    tls:
      insecure: true  
    num_streams: 5  
  skywalking/2:
    endpoint: "10.18.7.4:11800"
    compression: "gzip"
    tls:
      cert_file: file.cert
      key_file: file.key
    timeout: 10s

Advanced Configuration

Several helper files are leveraged to provide additional capabilities automatically: