Skip to content

Commit

Permalink
fix: broken code blocks
Browse files Browse the repository at this point in the history
code block failing to render as a codeblock
  • Loading branch information
brnhensley authored Jul 11, 2024
1 parent 41030df commit 017b4ed
Showing 1 changed file with 15 additions and 11 deletions.
26 changes: 15 additions & 11 deletions src/install/snowflake/whatsNext.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -34,18 +34,20 @@ You can send your own custom metrics to New Relic and view that data in a dashbo
order by
execution_time desc
```

4. Add this snippet to the `flex-snowflake-linux.yml` file:

```yml
- name: longestQueries
entity: snowflake
# New Relic will capture all your Snowflake metrics when you use `event_type: SnowflakeVirtualWarehouse`.
event_type: SnowflakeVirtualWarehouse
custom_attributes:
metric_type: snowflake.query_performance
commands:
- run: YOUR_PATH_TO_DOWNLOADED_BINARY_FILE YOUR_PATH_TO_CLONED_REPOSITORY_DIRECTORY/config.yaml YOUR_PATH_TO_CLONED_REPOSITORY_DIRECTORY/queries/longest_queries.sql
```
```yml
- name: longestQueries
entity: snowflake
# New Relic will capture all your Snowflake metrics when you use `event_type: SnowflakeVirtualWarehouse`.
event_type: SnowflakeVirtualWarehouse
custom_attributes:
metric_type: snowflake.query_performance
commands:
- run: YOUR_PATH_TO_DOWNLOADED_BINARY_FILE YOUR_PATH_TO_CLONED_REPOSITORY_DIRECTORY/config.yaml YOUR_PATH_TO_CLONED_REPOSITORY_DIRECTORY/queries/longest_queries.sql
```

</Collapser>
<Collapser
className="freq-link"
Expand All @@ -69,6 +71,7 @@ You can send your own custom metrics to New Relic and view that data in a dashbo
order by
2 desc;
```

4. Add this snippet to the `flex-snowflake.yml` file:

```yml
Expand All @@ -79,7 +82,8 @@ You can send your own custom metrics to New Relic and view that data in a dashbo
metric_type: snowflake.credit_usage_by_warehouse
commands:
- run: YOUR_PATH_TO_DOWNLOADED_BINARY_FILE YOUR_PATH_TO_CLONED_REPOSITORY_DIRECTORY/config.yaml YOUR_PATH_TO_CLONED_REPOSITORY_DIRECTORY/queries/credit_usage_by_warehouse.sql
```
```

</Collapser>
</CollapserGroup>

Expand Down

0 comments on commit 017b4ed

Please sign in to comment.