opencensus-website icon indicating copy to clipboard operation
opencensus-website copied to clipboard

core-concepts/exporters: missing guide for creating a customer exporter

Open odeke-em opened this issue 7 years ago • 3 comments

So in the latest revamp we've got a section core-concepts/exporters https://opencensus.io/core-concepts/exporters/ which is great. However, we don't provide a section for a developer guide:

  • Actually explaining what exporters are in code e.g. they implement a common interface for example the trace.ExportSpan and stats.ExportViewData interfaces
  • Implementing a print exporter in each of the supported languages

I believe that we need to include this information to make the website more productive for other developers who'll bootstrap the eco-system and provide more integrations and thus organic usage. In a talk recently I posted up some examples in slides:

  • Tracing custom exporter https://cdn.rawgit.com/orijtech/talks/master/2018/07/18/gosf/gosf.htm#17
  • Metrics custom exporter https://cdn.rawgit.com/orijtech/talks/master/2018/07/18/gosf/gosf.htm#25

odeke-em avatar Aug 03 '18 09:08 odeke-em

/cc @hvent90

odeke-em avatar Aug 03 '18 09:08 odeke-em

I've submitted PR https://github.com/census-instrumentation/opencensus-website/pull/226 for Stats and Tracing in Go. I invite the other folks who are specialists in the various languages too to submit or at least review the pages we'll submit for this issue.

  • [X] Go
  • [x] Java
  • [ ] C++
  • [ ] Python
  • [ ] Erlang
  • [ ] Scala
  • [X] Node.js
  • [ ] PHP

odeke-em avatar Aug 08 '18 07:08 odeke-em

Added example of metrics custom exporter for Java with PR 618 https://github.com/census-instrumentation/opencensus-website/pull/618

alexamies avatar Feb 26 '19 18:02 alexamies