Pygments SB NRQL
New Relic Query Language (NRQL) lexer for Pygments built by Dynova.
NRQL is a SQL-like query language you can use to query your data in New Relic. This is a Python package that provides a lexer for Pygments to highlight NRQL queries.
Requirements
- Python 3.9.0 or higher
Install
Install from PyPI
pip install pygments-sb-nrql
Usage
Just install and create markdown blocks with the language nrql to get a
highlighted code block.
```nrql
-- Example NRQL query
FROM
Log
WITH
numeric(http.statusCode) AS `sb.statusCode`,
numeric(timespan) * 1000 AS `sb.duration`,
capture(pageUrl, r'https://(?P
Docs
Changelog
All changes to versions of this library are listed in the change history.
Development
Check out our contribution guide.
Contributors
See the list of contributors here.
License
This project is licensed under the terms of the MIT license. See the LICENSE file.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pygments_sb_nrql-0.7.0.tar.gz.
File metadata
- Download URL: pygments_sb_nrql-0.7.0.tar.gz
- Upload date:
- Size: 6.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
poetry/2.1.3 CPython/3.11.13 Linux/5.15.0-134-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2c13474be516b650586a209cf513c4de85ff5ff6458dcf212fd6b249f0a49c60
|
|
| MD5 |
41f75c610616a70e1370895e58ad67ff
|
|
| BLAKE2b-256 |
207874ccab4554aca984f27f817850acb7d5aa56b9d15982fc9e7d419cca2e68
|
File details
Details for the file pygments_sb_nrql-0.7.0-py3-none-any.whl.
File metadata
- Download URL: pygments_sb_nrql-0.7.0-py3-none-any.whl
- Upload date:
- Size: 6.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
poetry/2.1.3 CPython/3.11.13 Linux/5.15.0-134-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cc446fe71affe9490789defca7a32d867956e5a8963ef937ef7a6fef13f4e145
|
|
| MD5 |
d1836307b625e0fc03fbd6286605ba72
|
|
| BLAKE2b-256 |
d11d34d7bde1eeaf975d06297c889070a3ad336e7a57cf0f0725f0435b58e73e
|