@@ -37,20 +37,39 @@ annotations:
37
37
(In the near future, this step will be done by Fission automatically.)
38
38
39
39
Now, to access metrics in the Prometheus dashboard you just need to exposes the prometheus-server in the ` monitoring `
40
- namespace or access the cluserIP from within the cluster.
40
+ namespace or access the clusterIP from within the cluster (for example by using [ telepresence] (https://telepresence
41
+ .io/))
41
42
42
43
### Prometheus NATS exporter
43
44
Given that NATS streaming plays an important role in the workflow system, it is also useful to collect the metrics of
44
45
NATS into prometheus. Although not directly implemented in the NATS deployments, there is the
45
46
[ Prometheus NATS exporter] ( https://github.com/nats-io/prometheus-nats-exporter ) as a separate module to install.
46
47
47
- ## Grafana
48
+ ### Grafana
48
49
A common way to visualize the metrics collected with Prometheus is to use Grafana to create and share graphs and
49
50
other types of visualizations.
50
51
51
52
``` bash
52
- helm install --namespace monitoring --name prometheus stable/grafana
53
+ helm install --namespace monitoring --name grafana stable/grafana
53
54
```
54
55
56
+ Follow the instructions provided by the notes of the grafana helm chart to get the login details and exposing the
57
+ Grafana dashboard locally.
58
+
55
59
In the future, we will provide a pre-built Grafana dashboard with useful graphs to provide you insight into the
56
- system, without needing to build dashboards yourself.
60
+ system, without needing to build dashboards yourself.
61
+
62
+ ## OpenTracing / Jaeger
63
+
64
+ Fission Workflows supports distributed tracing using the [ OpenTracing] ( http://opentracing.io/ ) API. By default it
65
+ assumes the use of [ Jaeger] ( https://www.jaegertracing.io/ ) . To install a simple development version of Jaeger, which
66
+ includes all components, use the following template (replace ` fission ` with the namespace where Fission Workflows is
67
+ installed):
68
+
69
+ ``` bash
70
+ kubectl -n fission create -f https://raw.githubusercontent.com/jaegertracing/jaeger-kubernetes/master/all-in-one/jaeger-all-in-one-template.yml
71
+ ```
72
+
73
+ To view the Jaeger GUI navigate to the ` jaeger-query ` service. An example of a multi-task workflow execution:
74
+
75
+ ![ Jaeger Tracing example] ( ./assets/jaeger-example.png )
0 commit comments