components-contrib/exporters
sayboras 8adf323961 Add github action for CI (#59)
* Initial commit

* Fixed all linting error

* Used prepared query instead of string format

* Enabled linter for test
Enabled below linters
    - gochecknoglobals
    - gochecknoinits

* Enabled below linters
    - godox
    - interfacer
    - maligned

* Revert name change for StateStore in pkg state

* Incorporate review comments

* Cleanup the github ci

* Correct typo

* Add golangci-lint version in github ci step

* Update Readme.md
2019-10-28 15:39:48 -07:00
..
native Add github action for CI (#59) 2019-10-28 15:39:48 -07:00
stringexporter Add github action for CI (#59) 2019-10-28 15:39:48 -07:00
zipkin Add github action for CI (#59) 2019-10-28 15:39:48 -07:00
Readme.md Support OpenCensus native exporter (#57) 2019-10-25 16:15:43 -07:00
exporter.go Add github action for CI (#59) 2019-10-28 15:39:48 -07:00
metadata.go Add github action for CI (#59) 2019-10-28 15:39:48 -07:00

Readme.md

Tracing Exporters

Tracing Exporters are OpenTelemetry exporter wrappers for Dapr. The actual export implementations should be contributed to the OpenTelemetry repository.

Currently supported exporters are:

  • Native

    OpenTelemetry default exporter

  • String

    Export to a string buffer. This is mostly used for testing purposes.

  • Zipkin

    Export to a Zipkin back-end.

Implementing a new Exporter wrapper

A compliant exporter wrapper needs to implement one interface: Exporter, which has a single method:

type Exporter interface {
	Init(daprID string, hostAddress string, metadata Metadata) error
}

The implementation should configure the exporter according to the settings specified in the metadata.