Skip to content

Commit

Permalink
Fix metrics docs (#897)
Browse files Browse the repository at this point in the history
### Description of change

##### Checklist

- [ ] Tested in playground or other setup
- [x] Documentation is changed or added
- [ ] Tests and/or benchmarks are included
- [ ] Breaking changes

<!-- Reviewable:start -->
- - -
This change is [<img src="https://reviewable.io/review_button.svg"
height="34" align="absmiddle"
alt="Reviewable"/>](https://reviewable.io/reviews/fluxninja/aperture/897)
<!-- Reviewable:end -->
  • Loading branch information
hasit authored and hdkshingala committed Nov 7, 2022
1 parent e6a7f52 commit dd430b4
Show file tree
Hide file tree
Showing 8 changed files with 87 additions and 84 deletions.
10 changes: 5 additions & 5 deletions docs/content/concepts/flow-control/flow-label.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,9 @@ high-cardinality label is detected, some of its values may be replaced with

#### Default labels

These are protocol-level labels (e.g. http, network) extracted by the
configurated service mesh/middleware and are available to be referenced in
[Selectors][selector], execept for a few high-cardinality ones.
These are protocol-level labels (e.g. http, network) extracted by the configured
service mesh/middleware and are available to be referenced in
[Selectors][selector], except for a few high-cardinality ones.

#### Labels extracted from baggage

Expand All @@ -113,8 +113,8 @@ SDK][aperture-go].

:::note

In the case of a clash, the Flow Label generated from the source takes
predendence over the source below it:
In the case of a clash, the Flow Label will be applied in the following
precedence over:

1. User-defined
2. Baggage
Expand Down
8 changes: 0 additions & 8 deletions docs/content/references/flow-events/_category_.yaml

This file was deleted.

131 changes: 68 additions & 63 deletions docs/content/references/flow-events/flow-events.md

Large diffs are not rendered by default.

8 changes: 0 additions & 8 deletions docs/content/references/metrics/_category_.yaml

This file was deleted.

8 changes: 8 additions & 0 deletions docs/content/references/prometheus-metrics/_category_.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
label: Prometheus Metrics
position: 3
collapsible: true
collapsed: true
link:
type: "generated-index"
title: "Prometheus Metrics"
keywords: ["prometheus", "metrics"]
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ sidebar_position: 2
sidebar_label: Agent
---

Prometheus metrics generated by Aperture Agents.

## FluxMeter

### Metrics
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ sidebar_position: 1
sidebar_label: System
---

Prometheus metrics generated by both, Aperture Agents and Aperture Controller.

## Go Metrics

Go process metrics can be exposed by enabling `enable_go_metrics` flag in
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ sidebar_position: 3
sidebar_label: Controller
---

Prometheus metrics generated by Aperture Controller.

## Signal

### Metrics
Expand Down

0 comments on commit dd430b4

Please sign in to comment.