Skip to content

Commit

Permalink
OpenTracing listener (#3)
Browse files Browse the repository at this point in the history
* Install OpenTracing listener
* Add OpenTracing configuration
  • Loading branch information
debovema authored Nov 8, 2018
1 parent af28fd0 commit 6a90e28
Show file tree
Hide file tree
Showing 4 changed files with 258 additions and 12 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,10 @@ scp bin/linux_arm/flogo-demo-iot rpi:~
```
ssh rpi 'sudo DEMO_IOT_EMOJIS_DIR=~/emojis/618x618-color ~/flogo-demo-iot'
```
To enable OpenTracing with a Zipkin HTTP collector listening on 192.168.1.1:9411, run instead
```
ssh rpi 'sudo DEMO_IOT_EMOJIS_DIR=~/emojis/618x618-color FLOGO_OPENTRACING_IMPLEMENTATION=zipkin FLOGO_OPENTRACING_TRANSPORT=http FLOGO_OPENTRACING_ENDPOINTS=http://192.168.1.1:9411/api/v1/spans ~/flogo-demo-iot'
```

5. test with a sample smiley
```
Expand Down
249 changes: 239 additions & 10 deletions src/flogo-demo-iot/Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 14 additions & 2 deletions src/flogo-demo-iot/Gopkg.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,18 @@
#
# Refer to https://golang.github.io/dep/docs/Gopkg.toml.html
# for detailed Gopkg.toml documentation.

[prune]
go-tests = true
go-tests = true

[[constraint]]
name = "github.com/TIBCOSoftware/flogo-contrib"
branch = "master"

[[constraint]]
name = "github.com/TIBCOSoftware/flogo-lib"
branch = "master"

[[constraint]]
branch = "master"
name = "github.com/debovema/flogo-opentracing-listener"
1 change: 1 addition & 0 deletions src/flogo-demo-iot/imports.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import (
_ "github.com/TIBCOSoftware/flogo-contrib/activity/actreply"
_ "github.com/TIBCOSoftware/flogo-contrib/activity/log"
_ "github.com/TIBCOSoftware/flogo-contrib/trigger/rest"
_ "github.com/debovema/flogo-opentracing-listener"
_ "github.com/square-it/flogo-contrib-activities/command"
_ "github.com/square-it/flogo-contrib-activities/copyfile"
)

0 comments on commit 6a90e28

Please sign in to comment.