Skip to content

Commit 868eacd

Browse files
committed
Fix some 404s in the documentation site.
1 parent 413b4bb commit 868eacd

File tree

3 files changed

+21
-1
lines changed

3 files changed

+21
-1
lines changed

docs/content/connection-options.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -542,7 +542,7 @@ from your connection string when migrating from Connector/NET to MySqlConnector.
542542
<tr id="SshHostName">
543543
<td>SshHostName, SshPort, SshUserName, SshPassword, SshKeyFile, SshPassPhrase</td>
544544
<td></td>
545-
<td>Connecting via SSH isn’t built into MySqlConnector, but can be set up easily by following <a href="../tutorials/connect-ssh/" title="Connecting to MySQL Server with SSH from C#">these instructions</a>.</td>
545+
<td>Connecting via SSH isn’t built into MySqlConnector, but can be set up easily by following <a href="/tutorials/connect-ssh/" title="Connecting to MySQL Server with SSH from C#">these instructions</a>.</td>
546546
</tr>
547547
<tr id="SqlServerMode">
548548
<td>SqlServerMode, Sql Server Mode</td>

docs/content/diagnostics/index.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
date: 2023-11-19
3+
title: Diagnostics
4+
---
5+
6+
# Diagnostics
7+
8+
<blockquote class="note">Metrics are only supported in MySqlConnector 2.3.0 or later.</blockquote>
9+
10+
MySqlConnector supports the following diagnostics:
11+
12+
* [Logging](logging/) - logging via Microsoft.Extensions.Logging
13+
* [Tracing](tracing/) - OpenTelemetry-compatible tracing via `ActivitySource`
14+
* [Metrics](metrics/) - OpenTelemetry-compatible metrics via System.Diagnostics.Metrics

netlify.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,3 +112,9 @@ from = "/tutorials/tracing/"
112112
to = "/diagnostics/tracing/"
113113
status = 302
114114
force = true
115+
116+
[[redirects]]
117+
from = "/connection%E2%80%91options/"
118+
to = "/connection-options/"
119+
status = 301
120+
force = true

0 commit comments

Comments
 (0)