You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+19-2
Original file line number
Diff line number
Diff line change
@@ -757,8 +757,6 @@ parameters:
757
757
encode:
758
758
type: prom
759
759
prom:
760
-
address: 0.0.0.0
761
-
port: 9103
762
760
prefix: test_
763
761
metrics:
764
762
- name: Bytes
@@ -852,6 +850,25 @@ The object header contains the following fields: `version`, `capture_start_time`
852
850
If no flow logs arrive within the `writeTimeout` period, then an object is created with no flows.
853
851
An object is created either when we have accumulated `batchSize` flow logs or when `writeTimeout` has passed.
854
852
853
+
### Metrics Settings
854
+
855
+
Some global metrics settings may be setin the configuration file.
856
+
A sample is the following:
857
+
858
+
```
859
+
metricsSettings:
860
+
suppressGoMetrics: true
861
+
prefix: flp_operational_
862
+
port: 9102
863
+
864
+
```
865
+
866
+
FLP metrics are reported to a prometheus client interface.
867
+
In addition, there are default metrics reported by `Go`, which are also directed to the prometheus client interface.
868
+
The port to which these metrics are made available is specified in the `port` configuration parameter.
869
+
If a `prefix` is specified, then the specified prefix is prepended to each of the operational metrics generated by FLP.
870
+
A different `prefix` may be specified on an `encode prom` stage to be prepended to the prometheus metrics defined in that stage.
871
+
The `suppressGoMetrics` parameter may be set to `true`in order to suppress the reporting of the `Go` and process metrics in the prometheus client interface.
0 commit comments