Skip to content

Commit 6988fd2

Browse files
authored
docs: fix broken links and markdown lints (#22)
Signed-off-by: Evan Baker <[email protected]>
1 parent b64e6cb commit 6988fd2

17 files changed

+54
-17
lines changed

SECURITY.md

+9-9
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!-- BEGIN MICROSOFT SECURITY.MD V0.0.9 BLOCK -->
22

3-
## Security
3+
# Security
44

55
Microsoft takes the security of our software products and services seriously, which includes all source code repositories managed through our GitHub organizations, which include [Microsoft](https://github.com/Microsoft), [Azure](https://github.com/Azure), [DotNet](https://github.com/dotnet), [AspNet](https://github.com/aspnet) and [Xamarin](https://github.com/xamarin).
66

@@ -14,17 +14,17 @@ Instead, please report them to the Microsoft Security Response Center (MSRC) at
1414

1515
If you prefer to submit without logging in, send email to [[email protected]](mailto:[email protected]). If possible, encrypt your message with our PGP key; please download it from the [Microsoft Security Response Center PGP Key page](https://aka.ms/security.md/msrc/pgp).
1616

17-
You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your original message. Additional information can be found at [microsoft.com/msrc](https://www.microsoft.com/msrc).
17+
You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your original message. Additional information can be found at [microsoft.com/msrc](https://www.microsoft.com/msrc).
1818

1919
Please include the requested information listed below (as much as you can provide) to help us better understand the nature and scope of the possible issue:
2020

21-
* Type of issue (e.g. buffer overflow, SQL injection, cross-site scripting, etc.)
22-
* Full paths of source file(s) related to the manifestation of the issue
23-
* The location of the affected source code (tag/branch/commit or direct URL)
24-
* Any special configuration required to reproduce the issue
25-
* Step-by-step instructions to reproduce the issue
26-
* Proof-of-concept or exploit code (if possible)
27-
* Impact of the issue, including how an attacker might exploit the issue
21+
* Type of issue (e.g. buffer overflow, SQL injection, cross-site scripting, etc.)
22+
* Full paths of source file(s) related to the manifestation of the issue
23+
* The location of the affected source code (tag/branch/commit or direct URL)
24+
* Any special configuration required to reproduce the issue
25+
* Step-by-step instructions to reproduce the issue
26+
* Proof-of-concept or exploit code (if possible)
27+
* Impact of the issue, including how an attacker might exploit the issue
2828

2929
This information will help us triage your report more quickly.
3030

SUPPORT.md

+3-5
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
# Support
22

3-
## How to file issues and get help
3+
## How to file issues and get help
44

5-
This project uses GitHub Issues to track bugs and feature requests. Please search the existing
6-
issues before filing new issues to avoid duplicates. For new issues, file your bug or
7-
feature request as a new Issue.
5+
This project uses GitHub Issues to track bugs and feature requests. Please search the existing issues before filing new issues to avoid duplicates. For new issues, file your bug or feature request as a new Issue.
86

9-
## Microsoft Support Policy
7+
## Microsoft Support Policy
108

119
Support for this project is limited to the resources listed above.

deploy/grafana/dashboards/README.md

+2
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1+
# README
2+
13
Dashboards here are a copy of dashboards published in Retina organization on grafana.com

docs/captures/readme.md

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Captures are on-demand and can be output to the host filesystem, a storage blob,
99
## Usage
1010

1111
There are two methods for triggering a Capture:
12+
1213
- [CLI command](#option-1-retina-cli) or
1314
- [CRD/YAML configuration](#option-2-capture-crd-custom-resource-definition).
1415

docs/installation/grafana.md

+1
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,6 @@ FIXME add published dashboard links
3030
## Pre-Installed Dashboards
3131

3232
If you're using [Azure-Hosted Prometheus/Grafana](prometheus-azure-managed.md), versions of these dashbaords are pre-installed under:
33+
3334
- Dashboards > Managed Prometheus > Kubernetes / Networking / Clusters
3435
- Dashboards > Managed Prometheus > Kubernetes / Networking / DNS

docs/installation/prometheus-azure-managed.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,4 +78,4 @@
7878

7979
## Configuring Grafana
8080

81-
In the Azure Portal, find your Grafana instance. Click on the Grafana Endpoint URL, then follow [Configuring Grafana](./configuring-grafana.md).
81+
In the Azure Portal, find your Grafana instance. Click on the Grafana Endpoint URL, then follow [Configuring Grafana](./grafana.md).

docs/installation/prometheus-unmanaged.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,4 +74,4 @@
7474

7575
## Configuring Grafana
7676

77-
Create a Grafana instance at [grafana.com](https://www.grafana.com) and follow [Configuring Grafana](./configuring-grafana.md).
77+
Create a Grafana instance at [grafana.com](https://www.grafana.com) and follow [Configuring Grafana](./grafana.md).

docs/installation/setup.md

+1
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ make helm-install-advanced-local-context
3737
## Next Steps: Configuring Prometheus/Grafana
3838

3939
Follow the guide relevant to your setup:
40+
4041
- [Unmanaged Prometheus/Grafana](./prometheus-unmanaged.md)
4142
- [Azure-Hosted Prometheus/Grafana](./prometheus-azure-managed.md)
4243

docs/intro.md

+3
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ Retina lets you **investigate network issues on-demand** and **continuously moni
2424
*Why can't my Pods connect to each other any more?* **Typical investigation is time-intensive** and involves performing packet captures, where one must identify the Nodes involved, gain access to each Node, run `tcpdump` commands, and export the results off of each Node.
2525

2626
With Retina, you can **automate this process** with a **single CLI command** or CRD/YAML that can:
27+
2728
- Run captures on all Nodes hosting the Pods of interest.
2829
- Upload each Node's results to a storage blob.
2930

@@ -45,6 +46,7 @@ Retina uses two types of telemetry: metrics and captures.
4546
### Metrics
4647

4748
Retina metrics provide **continuous observability** into:
49+
4850
- Incoming/outcoming traffic
4951
- Dropped packets
5052
- TCP/UDP
@@ -53,6 +55,7 @@ Retina metrics provide **continuous observability** into:
5355
- Node/interface statistics
5456

5557
Retina provides both:
58+
5659
- **Basic metrics** (default, Node-Level metrics) and
5760
- **Advanced/Pod-Level metrics** (if enabled).
5861

docs/metrics/advanced.md

+11
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ All metrics have the prefix `networkobservability_`.
1212
## Universal Labels
1313

1414
Node and Cluster metadata are included with the labels:
15+
1516
- `cluster`
1617
- `instance` (Node name)
1718

@@ -24,6 +25,7 @@ To customize context labels, see [MetricsConfiguration CRD](../CRDs/MetricsConfi
2425
### Remote Context
2526

2627
For Advanced mode with *remote context*, default context labels are the following:
28+
2729
- `source_ip`
2830
- `source_namespace`
2931
- `source_pod`
@@ -36,12 +38,14 @@ For Advanced mode with *remote context*, default context labels are the followin
3638
### Local Context
3739

3840
For Advanced mode with *local context*, default context labels are the following for *outgoing* traffic:
41+
3942
- `source_ip`
4043
- `source_namespace`
4144
- `source_pod`
4245
- `source_workload`
4346

4447
For *incoming* traffic:
48+
4549
- `destination_ip`
4650
- `destination_namespace`
4751
- `destination_pod`
@@ -65,13 +69,16 @@ Metrics enabled when `dropreason` plugin is enabled (see [Metrics Configuration]
6569
| `adv_drop_bytes` | ***Advanced/Pod-Level***: dropped byte count | `direction`, `reason`, context labels |
6670

6771
#### Label Values
72+
6873
See [Context Labels](#context-labels).
6974

7075
Possible values for `direction`:
76+
7177
- `ingress` (incoming traffic)
7278
- `egress` (outgoing traffic)
7379

7480
Possible values for `reason`:
81+
7582
- `IPTABLE_RULE_DROP`
7683
- `IPTABLE_NAT_DROP`
7784
- `TCP_CONNECT_BASIC`
@@ -120,10 +127,12 @@ The metrics were born out of a real-life incident, where Node-to-API-server late
120127
See [Context Labels](#context-labels).
121128

122129
Possible values for `direction`:
130+
123131
- `ingress` (incoming traffic)
124132
- `egress` (outgoing traffic)
125133

126134
Possible values for `flag`:
135+
127136
- `FIN`
128137
- `SYN`
129138
- `RST`
@@ -135,6 +144,7 @@ Possible values for `flag`:
135144
- `NS`
136145

137146
Possible values for `le` (for API server metrics). Units are in *milliseconds*. `le` stands for "less than or equal". See [Prometheus histogram documentation](https://prometheus.io/docs/concepts/metric_types/#histogram) for more info.
147+
138148
- `0`
139149
- `0.5`
140150
- `1` through `4.5` in increments of 0.5
@@ -149,4 +159,5 @@ Metrics enabled when `tcpretrans` plugin is enabled (see [Metrics Configuration]
149159
| `adv_tcpretrans_count` | ***Advanced/Pod-Level***: TCP retransmitted packet count | context labels |
150160

151161
#### Label Values
162+
152163
See [Context Labels](#context-labels).

docs/metrics/annotations.md

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ Annotations let you specify which Pods to observe (create metrics for).
44
To configure this, specify `enableAnnotations=true` in Retina's [helm installation](../installation/setup.md) or [ConfigMap](../installation/config.md).
55

66
You can then add the annotation `retina.sh/v1alpha1: observe` to either:
7+
78
- individual Pods
89
- Namespaces (to observe all the Pods in the namespace).
910

docs/metrics/basic.md

+13
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ All metrics have the prefix `networkobservability_`.
99
## Universal Labels
1010

1111
All metrics include node and Cluster metadata with the labels:
12+
1213
- `cluster`
1314
- `instance` (Node name)
1415

@@ -26,6 +27,7 @@ Metrics enabled when `packetforward` plugin is enabled (see [Metrics Configurati
2627
#### Label Values
2728

2829
Possible values for `direction`:
30+
2931
- `ingress` (incoming traffic)
3032
- `egress` (outgoing traffic)
3133

@@ -41,10 +43,12 @@ Metrics enabled when `dropreason` plugin is enabled (see [Metrics Configuration]
4143
#### Label Values
4244

4345
Possible values for `direction`:
46+
4447
- `ingress` (incoming traffic)
4548
- `egress` (outgoing traffic)
4649

4750
Possible values for `reason`:
51+
4852
- `IPTABLE_RULE_DROP`
4953
- `IPTABLE_NAT_DROP`
5054
- `TCP_CONNECT_BASIC`
@@ -69,6 +73,7 @@ Metrics enabled when `linuxutil` plugin is enabled (see [Metrics Configuration](
6973
#### Label Values
7074

7175
Possible values for TCP `state`:
76+
7277
- `UNKNOWN`
7378
- `ESTABLISHED`
7479
- `SYN_SENT`
@@ -83,21 +88,25 @@ Possible values for TCP `state`:
8388
- `CLOSING`
8489

8590
Possible values for `statistic_name` (for metric `tcp_connection_stats`):
91+
8692
- `TCPTimeouts`
8793
- `TCPTSReorder`
8894
- `ResetCount`
8995
- and many others (full list [here](./plugins/linuxutil.md#label-values-for-tcp_connection_stats))
9096

9197
Possible values for `statistic_name` (for metric `ip_connection_stats`):
98+
9299
- `InNoECTPkts`
93100
- `InNoRoutes`
94101
- `InOctets`
95102
- `OutOctets`
96103

97104
Possible values for `statistic_name` (for metric `udp_connection_stats`):
105+
98106
- `ACTIVE` (currently active socket count)
99107

100108
Possible values for `statistic_name` (for metric `interface_stats`):
109+
101110
- `tx_packets`
102111
- `rx_packets`
103112
- `rx0_cache_full` (or `rx1_`, etc.)
@@ -133,14 +142,17 @@ Metrics enabled when `hnsstats` plugin is enabled (see [Metrics Configuration](.
133142
#### Label Values
134143

135144
Possible values for `direction`:
145+
136146
- `ingress` (incoming traffic)
137147
- `egress` (outgoing traffic)
138148

139149
Possible values for `reason`:
150+
140151
- `endpoint` (dropped by HNS endpoint)
141152
- `aclrule` (dropped by ACL firewall rule in VFP)
142153

143154
Possible values for `statistic_name` (for metric `tcp_connection_stats`):
155+
144156
- `ResetCount`
145157
- `ClosedFin`
146158
- `ResetSyn`
@@ -150,6 +162,7 @@ Possible values for `statistic_name` (for metric `tcp_connection_stats`):
150162
- `TimeWaitExpiredCount`
151163

152164
Possible values for TCP `flag`:
165+
153166
- `SYN`
154167
- `SYNACK`
155168
- `FIN`

docs/metrics/configuration.md

+1
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,6 @@
33
You can enable/disable metrics by including/omitting their Plugin from `enabledPlugins` in either Retina's [helm installation](../installation/setup.md) or [ConfigMap](../installation/config.md).
44

55
Via [MetricsConfiguration CRD](../CRDs/MetricsConfiguration.md), you can further customize the following for your enabled plugins:
6+
67
- Which metrics to include
78
- Which metadata to include for a metric.

docs/metrics/plugins/linuxutil.md

+1
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ These are initialized in the linuxutil.go file.
5353
## Label Values for `tcp_connection_stats`
5454

5555
Below is a running list of all statistics for the metric `tcp_connection_stats`, captured from the `netstats` utility:
56+
5657
- `DelayedACKLocked`
5758
- `DelayedACKLost`
5859
- `DelayedACKs`

docs/metrics/plugins/packetparser.md

+3
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ In Advanced mode (see [Metric Modes](../modes.md)), the plugin turns an eBPF res
2424
Code path: *pkg/module/metrics/forward.go*
2525

2626
Metrics produced:
27+
2728
- `adv_forward_count`
2829
- `adv_forward_bytes`
2930

@@ -32,6 +33,7 @@ Metrics produced:
3233
Code path: *pkg/module/metrics/tcpflags.go*
3334

3435
Metrics produced:
36+
3537
- `adv_forward_count`
3638
- `adv_forward_bytes`
3739

@@ -40,6 +42,7 @@ Metrics produced:
4042
Code path: *pkg/module/metrics/latency.go*
4143

4244
Metrics produced:
45+
4346
- `adv_node_apiserver_latency`
4447
- `adv_node_apiserver_no_response`
4548
- `adv_node_apiserver_tcp_handshake_latency`

docs/troubleshooting/basic-metrics.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## Overview
44

5-
Basic metrics is covered by the [Metrics](../metrics/intro.md) section of the Retina documentation. This guide is intended to help you troubleshoot issues with basic metrics.
5+
Basic metrics is covered by the [Metrics](../metrics/basic.md) section of the Retina documentation. This guide is intended to help you troubleshoot issues with basic metrics.
66

77
## Metrics are not being generated or showing up in Grafana dashboards
88

site/README.md

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ To test, run `make docs` to spin up local webserver and view changes with hot re
1515
Install `yarn` (e.g. for Ubuntu, try [this guide](https://www.linuxcapable.com/how-to-install-yarn-on-ubuntu-linux/#install-yarn-on-ubuntu-2204-or-2004-via-nodesource)).
1616

1717
In this directory (*retina/site/*), run:
18+
1819
```bash
1920
yarn
2021
```

0 commit comments

Comments
 (0)