Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f8c5158

Browse files
committed
adjust to md rules
1 parent c33edbf commit f8c5158

File tree

1 file changed

+14
-25
lines changed

1 file changed

+14
-25
lines changed

docs/tutorials/best-practices/scale-coder.md

+14-25
Original file line numberDiff line numberDiff line change
@@ -18,20 +18,13 @@ and metrics to identify potential bottlenecks before they negatively affect the
1818
end-user experience and measure the effects of modifications you make to your
1919
deployment.
2020

21-
**Log output**
22-
23-
- Capture log output from Loki, CloudWatch logs, and other tools on your Coder
24-
Server instances and external provisioner daemons and store them in a
21+
- Log output
22+
- Capture log output from Loki, CloudWatch logs, and other tools on your Coder Server instances and external provisioner daemons and store them in a
2523
searchable log store.
24+
- Retain logs for a minimum of thirty days, ideally ninety days. This allows you to look back to see when anomalous behaviors began.
2625

27-
- Retain logs for a minimum of thirty days, ideally ninety days. This allows
28-
you to look back to see when anomalous behaviors began.
29-
30-
**Metrics**
31-
32-
- Capture infrastructure metrics like CPU, memory, open files, and network I/O
33-
for all Coder Server, external provisioner daemon, workspace proxy, and
34-
PostgreSQL instances.
26+
- Metrics
27+
- Capture infrastructure metrics like CPU, memory, open files, and network I/O for all Coder Server, external provisioner daemon, workspace proxy, and PostgreSQL instances.
3528

3629
### Capture Coder server metrics with Prometheus
3730

@@ -73,27 +66,23 @@ dashboard, for example, [Grafana](../../admin/monitoring/index.md).
7366
Configure alerting based on these metrics to ensure you surface problems before
7467
they affect the end-user experience.
7568

76-
**CPU and Memory Utilization**
69+
#### CPU and Memory Utilization
7770

78-
- Monitor the utilization as a fraction of the available resources on the
79-
instance.
71+
Monitor the utilization as a fraction of the available resources on the instance.
8072

81-
Utilization will vary with use throughout the course of a day, week, and
82-
longer timelines. Monitor trends and pay special attention to the daily and
83-
weekly peak utilization. Use long-term trends to plan infrastructure upgrades.
73+
Utilization will vary with use throughout the course of a day, week, and longer timelines. Monitor trends and pay special attention to the daily and weekly peak utilization. Use long-term trends to plan infrastructure upgrades.
8474

85-
**Tail latency of Coder Server API requests**
75+
#### Tail latency of Coder Server API requests
8676

87-
- High tail latency can indicate Coder Server or the PostgreSQL database is low
88-
on resources.
77+
High tail latency can indicate Coder Server or the PostgreSQL database is low on resources.
8978

90-
Use the `coderd_api_request_latencies_seconds` metric.
79+
- Use the `coderd_api_request_latencies_seconds` metric.
9180

92-
**Tail latency of database queries**
81+
#### Tail latency of database queries
9382

94-
- High tail latency can indicate the PostgreSQL database is low in resources.
83+
High tail latency can indicate the PostgreSQL database is low in resources.
9584

96-
Use the `coderd_db_query_latencies_seconds` metric.
85+
- Use the `coderd_db_query_latencies_seconds` metric.
9786

9887
## Coder Server
9988

0 commit comments

Comments
 (0)