* Change census-instrumentation to open-telemetry and update authors
census-instrumentation/opencensus is now open-telemetry/opentelemetry
"OpenCensus Authors" is now "OpenTelemetry Authors"
"Copyright 2018" is now "Copyright 2019"
Fix go fmt
- Introduced a new unisvc binary and make target. Unisvc is
planned to be the implementation of the unified agent and collector
that uses the new configuration format.
- Refactored existing Application.execute() code to make it more
readable and also reusable.
The functionality is not changed. Reviews: please check this carefully!
- Introduced new Application.executeUnified() function that will call
all new agent/collector execution logic that is different from
old logic.
Application.executeUnified() is currently partial implementation,
which only builds the exporters. I plan to add building of processor
pipelines and receivers in future PRs.
- Introduced ExportersBuilder which builds runtime exporters based
on provided configuration.
- Added ability for App telemetry shutdown. This is required to be able to
run multiple tests that involve App start and shutdown. Previously
there was only one test - TestApplication_Start - and it was not
correctly cleaning up telemetry resources at the end, making impossible
to add more tests against App.
- Added factory and config loading for OpenCensus exporter.
Note: the factory is not compelte yet. We will need to add ability to
create the exporter based on its config. It will be done in a future PR.
Testing done: automated tests