OpenTelemetry Bot d680729c09 [chore] Prepare release 0.90.0 (#29543) 1 year ago
..
example 8e906d0b32 [tencentcloudexporter]Fix some configuration file issues (#6213) 3 years ago
internal b2eea6e926 update mdatagen to support per signal stability (#21153) 1 year ago
proto f4c44858b5 [all][chore] Moved from interface{} to any for all go code (#29072) 1 year ago
testdata be499049ce [chore] Change exporter config tests to unmarshal config only for that component. (part3) (#14954) 2 years ago
Makefile 070967a0f4 Add TencentCloud LogService exporter (#5722) 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 5133f4ccd6 [chore] use license shortform (#22052) 1 year ago
doc.go 5133f4ccd6 [chore] use license shortform (#22052) 1 year ago
factory.go 5133f4ccd6 [chore] use license shortform (#22052) 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
logs_exporter.go b20a252770 [all] Remove more unused params (#22971) 1 year ago
logs_exporter_test.go 5133f4ccd6 [chore] use license shortform (#22052) 1 year ago
logsdata_to_logservice.go f4c44858b5 [all][chore] Moved from interface{} to any for all go code (#29072) 1 year ago
logsdata_to_logservice_test.go f4c44858b5 [all][chore] Moved from interface{} to any for all go code (#29072) 1 year ago
metadata.yaml 8a4348cb00 [chore] add codeowners to metadata (#24404) 1 year ago
sanitize.go 5133f4ccd6 [chore] use license shortform (#22052) 1 year ago
sanitize_test.go 5133f4ccd6 [chore] use license shortform (#22052) 1 year ago
uploader.go 5133f4ccd6 [chore] use license shortform (#22052) 1 year ago

README.md

TencentCloud LogService Exporter

Status
Stability beta: logs
Distributions contrib
Issues Open issues Closed issues
Code Owners @wgliang, @yiyang5055

This exporter supports sending OpenTelemetry log data to LogService.

Configuration options:

  • region (required): LogService's Region.
  • logset (required): LogService's LogSet ID.
  • topic (required): LogService's topic ID.
  • secret_id (optional): TencentCloud secret id.
  • secret_key (optional): TencentCloud secret key.

Example:

Simple Log Data

receivers:
  otlp:
    protocols:
      grpc:
        endpoint: ":4317"

exporters:
  tencentcloud_logservice:
      # LogService's Region, https://cloud.tencent.com/document/product/614/18940
      # set cls.{region}.tencentcloudapi.com, eg cls.ap-beijing.tencentcloudapi.com;
    region: "ap-beijing"
    # LogService's LogSet ID
    logset: "demo-logset"
    # LogService's Topic ID
    topic: "demo-topic"
    # TencentCloud secret id
    secret_id: "demo-secret-id"
    # TencentCloud secret key
    secret_key: "demo-secret-key"

service:
  pipelines:
    logs:
      receivers: [otlp]
      exporters: [tencentcloud_logservice]

Changelog

  • 2021-11-10 Change configuration item endpoint to region, by @wgliang
  • 2021-11-01 Initial implementation by @wgliang in #5722