Open-IoT-Service-Platform / oisp-frontend

Apache License 2.0
5 stars 8 forks source link

Jaeger Implementation for Frontend #80

Open oguzcankirmemis opened 5 years ago

oguzcankirmemis commented 5 years ago

To implement Jaeger, we need to listen:

This way we can benchmark our code better and see exactly how much time every route consumes.

oguzcankirmemis commented 5 years ago

After the first implementation, some fixes are done now to PR #81:

Remaining problems:

In the next commit these features are planned to be included:

@arkocal let me know if you need anything else.

arkocal commented 5 years ago

For checking whether the platform is running on docker or kubernetes, you can check the env variable KUBERNETES_PORT , but please check the documentation to see whether it is a good idea. I will comment on the rest later.

oguzcankirmemis commented 5 years ago

With the new commits to PR #81:

In the next commit, I will be polishing the span handling (more and nicer tags (for example tagging requests that produced an error)). More or less, the jaeger implementation for frontend is done.

@arkocal let me know if you need something else.

oguzcankirmemis commented 5 years ago

With the new commits to PR #81:

With this, this pr should be stable and we can merge it.

oguzcankirmemis commented 5 years ago

Apparently for jaeger to work properly, we need to solve the context provider bug mentioned at #103.