Suppose you're opening an issue and there's a lot noisey logs that may be useful.
Rather than wrecking readability, wrap it in a <details> tag!
<details>
<summary>Summary Goes Here</summary>| [ | |
| { | |
| "labels": { | |
| "kernel_release": "3.4.5.x86_64", | |
| "os": "linux", | |
| "os_version": "3.4.5.x86_64", | |
| "platform": "centos", | |
| "platform_family": "rhel", | |
| "platform_version": "7.8.9" | |
| }, |
| #!/usr/bin/jq -Sf | |
| def chef_fields: | |
| # special field adjustments go here | |
| . | |
| ; | |
| .rows| | |
| map(select(.name)) | sort_by(.name) | | |
| # my global config | |
| global: | |
| scrape_interval: 1m # Set the scrape interval | |
| evaluation_interval: 1m # Evaluate rules every N | |
| # scrape_timeout is set to the global default (10s). | |
| external_labels: | |
| monitoring_server: {{ host }} | |
| # Alertmanager configuration | |
| alerting: |