Skip to content

Commit

Permalink
Fixed minor formatting issues (#10056)
Browse files Browse the repository at this point in the history
  • Loading branch information
ale-cota authored May 21, 2024
1 parent 3dcb162 commit 6f0d20a
Showing 1 changed file with 13 additions and 12 deletions.
25 changes: 13 additions & 12 deletions docs/product/metrics/metrics-examples.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ If you're not sure where to start, here are a few examples of how you can use cu
</details>



## Backend Examples

<details open>
Expand Down Expand Up @@ -201,9 +202,9 @@ If you're not sure where to start, here are a few examples of how you can use cu

```Python
sentry_sdk.metrics.gauge(
  key=”cpu_usage”,
  value=94,
  unit=”percent”
  key = ”cpu_usage”,
  value = 94,
  unit = ”percent”
)
```
</details>
Expand All @@ -216,9 +217,9 @@ If you're not sure where to start, here are a few examples of how you can use cu

```Python
sentry_sdk.metrics.gauge(
  key=”cache_hit_ratio”,
  value=85,
  unit=”percent”
  key = ”cache_hit_ratio”,
  value = 85,
  unit = ”percent”
)
```
</details>
Expand All @@ -231,9 +232,9 @@ If you're not sure where to start, here are a few examples of how you can use cu

```Python
sentry_sdk.metrics.set(
  key=”server_ids_running”,
  value=“server_id”,
  tags={"software_version": software_version}
  key = ”server_ids_running”,
  value = “server_id”,
  tags = {"software_version": software_version}
)
```
</details>
Expand All @@ -246,9 +247,9 @@ If you're not sure where to start, here are a few examples of how you can use cu

```Python
sentry_sdk.metrics.set(
  key=”db_queries”,
  value=query,
  tags={"query_type": "read"}
  key = ”db_queries”,
  value = query,
  tags = {"query_type": "read"}
)
```
</details>

0 comments on commit 6f0d20a

Please sign in to comment.