Metrics

April 12, 2019 ยท View on GitHub

Zipkin

You can use zipkin to gather traces from fn.

Running a zipkin node is easy to get started, they have a docker container:

zipkin page

With zipkin running you can point functions to it using an env var:

ZIPKIN_URL=http://zipkin:9411/api/v1/spans

Open your browser to observe:

http://localhost:9411

Jaeger

We have support for Jaeger traces, as well.

It is easy to get an all-in-one container of jaeger running to test:

jaeger

And then point fn to jaeger with the environment variable:

JAEGER_URL=http://localhost:14268/api/traces?format=jaeger.thrift

Open browser to observe:

http://localhost:16686

Prometheus

Fn offers a prometheus metrics endpoint at /metrics