[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M75HAA910Y9TAYPM3F7A57JC":3,"skill-same:01M75HAA910Y9TAYPM3F7A57JC":60},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":30,"ownerDescription":6,"updatedAt":31,"install":32,"resources":45},"01M75HAA910Y9TAYPM3F7A57JC","database-observability",null,"Set up Grafana Cloud Database Observability for MySQL and PostgreSQL — enables `pg_stat_statements` \u002F Performance Schema, creates a least-privilege monitoring user, configures the `database_observability.postgres` \u002F `database_observability.mysql` Alloy components, ships query samples + visual explain plans + RED metrics + schema details to Grafana Cloud, and correlates slow queries with application traces via `db.statement` \u002F `db.system` OTel attributes. Use when monitoring database performance, diagnosing slow queries, setting up DB observability for RDS \u002F Aurora \u002F Cloud SQL \u002F Azure Database \u002F self-managed instances, correlating DB metrics with APM, or alerting on query latency — even when the user says \"my database is slow\", \"find the slow queries\", or \"monitor RDS\" without saying \"observability\".","stanfish06\u002Fskillquarium","stanfish06","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F93099613?v=4","01M75F1CK4ZW109ZK3T26VN52F","Zhiyuan","01M75F1CM53VH6F79DZ8GXKKES",12,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fstanfish06\u002Fskillquarium\u002Fblob\u002Fmaster\u002Fskills\u002Fdatabase-observability\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: database-observability\nlicense: Apache-2.0\ndescription: Set up Grafana Cloud Database Observability for MySQL and PostgreSQL — enables `pg_stat_statements` \u002F Performance Schema, creates a least-privilege monitoring user, configures the `database_observability.postgres` \u002F `database_observability.mysql` Alloy components, ships query samples + visual explain plans + RED metrics + schema details to Grafana Cloud, and correlates slow queries with application traces via `db.statement` \u002F `db.system` OTel attributes. Use when monitoring database performance, diagnosing slow queries, setting up DB observability for RDS \u002F Aurora \u002F Cloud SQL \u002F Azure Database \u002F self-managed instances, correlating DB metrics with APM, or alerting on query latency — even when the user says \"my database is slow\", \"find the slow queries\", or \"monitor RDS\" without saying \"observability\".\n---\n\n# Grafana Cloud Database Observability\n\n> **Docs**: https:\u002F\u002Fgrafana.com\u002Fdocs\u002Fgrafana-cloud\u002Fmonitor-applications\u002Fdatabase-observability\u002F\n\nQuery-level insights (RED metrics, query samples, explain plans) for MySQL and PostgreSQL without application code changes. GA since April 2026.\n\n## Common Workflows\n\n### PostgreSQL setup\n\n```sql\n-- 1. Enable pg_stat_statements (requires restart)\n--    In postgresql.conf:  shared_preload_libraries = 'pg_stat_statements'\n--    Then restart PostgreSQL.\n\n-- 2. Create a least-privilege monitoring user.\n--    Generate the password (`openssl rand -base64 24`) and put it in the secret\n--    store Alloy reads; do not commit a literal.\nCREATE USER grafana_monitoring WITH PASSWORD '\u003Cgenerated>';\nGRANT pg_monitor TO grafana_monitoring;\nGRANT CONNECT ON DATABASE mydb TO grafana_monitoring;\n\n-- 3. Enable the extension on each monitored DB\nCREATE EXTENSION IF NOT EXISTS pg_stat_statements;\n\n-- 4. Verify\nSELECT count(*) FROM pg_stat_statements;\n-- Should return >= 0 (not an error). If \"relation does not exist\": step 3 didn't run.\n```\n\n5. Add the [Alloy config block from references\u002Falloy-config.md § PostgreSQL](references\u002Falloy-config.md#postgresql)\n6. Restart Alloy and wait ~60s for first scrape\n7. **Verify in Grafana Cloud** → Database Observability — the instance should appear with non-empty `db_query_total{db_instance=\"mydb\"}` series. If empty after 2 minutes: check Alloy logs for connection errors, then re-verify pg_stat_statements permissions.\n\n### MySQL setup\n\n```sql\n-- 1. Create least-privilege monitoring user.\n--    Generate the password (`openssl rand -base64 24`); do not commit a literal.\n--    Narrow '%' to the Alloy host wherever the network allows it.\nCREATE USER 'grafana_monitoring'@'%' IDENTIFIED BY '\u003Cgenerated>';\n-- PROCESS and REPLICATION CLIENT are instance-wide by definition; SELECT is not,\n-- and the next line already grants the only SELECT the collectors need.\nGRANT PROCESS, REPLICATION CLIENT ON *.* TO 'grafana_monitoring'@'%';\nGRANT SELECT ON performance_schema.* TO 'grafana_monitoring'@'%';\nFLUSH PRIVILEGES;\n\n-- 2. Verify performance_schema is enabled (default in MySQL 8+)\nSELECT @@performance_schema;\n-- Returns 1 → enabled. 0 → set performance_schema=ON in my.cnf + restart.\n```\n\n3. Add the [Alloy config block from references\u002Falloy-config.md § MySQL](references\u002Falloy-config.md#mysql)\n4. Restart Alloy, wait ~60s, verify the instance appears in Grafana Cloud → Database Observability\n\n## Supported databases\n\n| Database | Variants |\n|----------|---------|\n| **MySQL** | Self-managed, RDS MySQL, Aurora MySQL, Cloud SQL MySQL, Azure Database for MySQL |\n| **PostgreSQL** | Self-managed, RDS PostgreSQL, Aurora PostgreSQL, Cloud SQL PostgreSQL, Azure Database for PostgreSQL |\n\nFor managed databases (RDS \u002F Cloud SQL \u002F Azure), `pg_stat_statements` is preinstalled but disabled — enable it via the parameter group \u002F flag, then re-create the extension at the DB level.\n\n## What you get\n\n- **Query Performance dashboard** (auto-provisioned): top queries by total time \u002F call count \u002F mean latency, sampled query texts with parameters, visual explain plans, RED metrics per query digest\n- **APM correlation**: drill from a slow service-latency span to the specific slow SQL via `db.statement` \u002F `db.system` \u002F `db.name` OTel attributes — see [references\u002Fqueries-alerts.md § Trace correlation](references\u002Fqueries-alerts.md#trace-correlation)\n- **Alerting** on query latency, error rate, and connection-pool saturation — full alert YAML in [references\u002Fqueries-alerts.md § Alert rules](references\u002Fqueries-alerts.md#alert-rules)\n\n## References\n\n- [`references\u002Falloy-config.md`](references\u002Falloy-config.md) — full Alloy `database_observability.postgres` \u002F `database_observability.mysql` config blocks + collector reference (`pg_stat_statements`, `query_samples`, `schema_details`, `explain_plans`)\n- [`references\u002Fqueries-alerts.md`](references\u002Fqueries-alerts.md) — key PromQL queries, alert rule YAML, and trace-correlation setup\n","# Grafana Cloud Database Observability\n\n> **Docs**: https:\u002F\u002Fgrafana.com\u002Fdocs\u002Fgrafana-cloud\u002Fmonitor-applications\u002Fdatabase-observability\u002F\n\nQuery-level insights (RED metrics, query samples, explain plans) for MySQL and PostgreSQL without application code changes. GA since April 2026.\n\n## Common Workflows\n\n### PostgreSQL setup\n\n```sql\n-- 1. Enable pg_stat_statements (requires restart)\n--    In postgresql.conf:  shared_preload_libraries = 'pg_stat_statements'\n--    Then restart PostgreSQL.\n\n-- 2. Create a least-privilege monitoring user.\n--    Generate the password (`openssl rand -base64 24`) and put it in the secret\n--    store Alloy reads; do not commit a literal.\nCREATE USER grafana_monitoring WITH PASSWORD '\u003Cgenerated>';\nGRANT pg_monitor TO grafana_monitoring;\nGRANT CONNECT ON DATABASE mydb TO grafana_monitoring;\n\n-- 3. Enable the extension on each monitored DB\nCREATE EXTENSION IF NOT EXISTS pg_stat_statements;\n\n-- 4. Verify\nSELECT count(*) FROM pg_stat_statements;\n-- Should return >= 0 (not an error). If \"relation does not exist\": step 3 didn't run.\n```\n\n5. Add the [Alloy config block from references\u002Falloy-config.md § PostgreSQL](references\u002Falloy-config.md#postgresql)\n6. Restart Alloy and wait ~60s for first scrape\n7. **Verify in Grafana Cloud** → Database Observability — the instance should appear with non-empty `db_query_total{db_instance=\"mydb\"}` series. If empty after 2 minutes: check Alloy logs for connection errors, then re-verify pg_stat_statements permissions.\n\n### MySQL setup\n\n```sql\n-- 1. Create least-privilege monitoring user.\n--    Generate the password (`openssl rand -base64 24`); do not commit a literal.\n--    Narrow '%' to the Alloy host wherever the network allows it.\nCREATE USER 'grafana_monitoring'@'%' IDENTIFIED BY '\u003Cgenerated>';\n-- PROCESS and REPLICATION CLIENT are instance-wide by definition; SELECT is not,\n-- and the next line already grants the only SELECT the collectors need.\nGRANT PROCESS, REPLICATION CLIENT ON *.* TO 'grafana_monitoring'@'%';\nGRANT SELECT ON performance_schema.* TO 'grafana_monitoring'@'%';\nFLUSH PRIVILEGES;\n\n-- 2. Verify performance_schema is enabled (default in MySQL 8+)\nSELECT @@performance_schema;\n-- Returns 1 → enabled. 0 → set performance_schema=ON in my.cnf + restart.\n```\n\n3. Add the [Alloy config block from references\u002Falloy-config.md § MySQL](references\u002Falloy-config.md#mysql)\n4. Restart Alloy, wait ~60s, verify the instance appears in Grafana Cloud → Database Observability\n\n## Supported databases\n\n| Database | Variants |\n|----------|---------|\n| **MySQL** | Self-managed, RDS MySQL, Aurora MySQL, Cloud SQL MySQL, Azure Database for MySQL |\n| **PostgreSQL** | Self-managed, RDS PostgreSQL, Aurora PostgreSQL, Cloud SQL PostgreSQL, Azure Database for PostgreSQL |\n\nFor managed databases (RDS \u002F Cloud SQL \u002F Azure), `pg_stat_statements` is preinstalled but disabled — enable it via the parameter group \u002F flag, then re-create the extension at the DB level.\n\n## What you get\n\n- **Query Performance dashboard** (auto-provisioned): top queries by total time \u002F call count \u002F mean latency, sampled query texts with parameters, visual explain plans, RED metrics per query digest\n- **APM correlation**: drill from a slow service-latency span to the specific slow SQL via `db.statement` \u002F `db.system` \u002F `db.name` OTel attributes — see [references\u002Fqueries-alerts.md § Trace correlation](references\u002Fqueries-alerts.md#trace-correlation)\n- **Alerting** on query latency, error rate, and connection-pool saturation — full alert YAML in [references\u002Fqueries-alerts.md § Alert rules](references\u002Fqueries-alerts.md#alert-rules)\n\n## References\n\n- [`references\u002Falloy-config.md`](references\u002Falloy-config.md) — full Alloy `database_observability.postgres` \u002F `database_observability.mysql` config blocks + collector reference (`pg_stat_statements`, `query_samples`, `schema_details`, `explain_plans`)\n- [`references\u002Fqueries-alerts.md`](references\u002Fqueries-alerts.md) — key PromQL queries, alert rule YAML, and trace-correlation setup\n",{"name":5,"license":15,"description":7},"master","49e49abf2f670d429e0b7e2c0349739c3fdd5cbe","skills\u002Fdatabase-observability",5,"https:\u002F\u002Fgithub.com\u002Fstanfish06\u002Fskillquarium","https:\u002F\u002Fgithub.com\u002Fstanfish06","https:\u002F\u002Fwww.stanfish.dev\u002F","2026-11-14 21:31:37",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add stanfish06\u002Fskillquarium --skill database-observability",{"tool":38,"command":39},"bunx","bunx skills add stanfish06\u002Fskillquarium --skill database-observability",{"tool":41,"command":42},"pnpm","pnpm dlx skills add stanfish06\u002Fskillquarium --skill database-observability","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fstanfish06\u002Fskillquarium\u002Fblob\u002Fmaster\u002Fskills\u002Fdatabase-observability\u002FSKILL.md",true,[46,52,56],{"path":47,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":50,"sourceHtmlUrl":51},"agents\u002Fopenai.yaml","REFERENCE","参考文档",180,"https:\u002F\u002Fgithub.com\u002Fstanfish06\u002Fskillquarium\u002Fblob\u002Fmaster\u002Fskills\u002Fdatabase-observability\u002Fagents\u002Fopenai.yaml",{"path":53,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":54,"sourceHtmlUrl":55},"references\u002Falloy-config.md",1755,"https:\u002F\u002Fgithub.com\u002Fstanfish06\u002Fskillquarium\u002Fblob\u002Fmaster\u002Fskills\u002Fdatabase-observability\u002Freferences\u002Falloy-config.md",{"path":57,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":58,"sourceHtmlUrl":59},"references\u002Fqueries-alerts.md",1808,"https:\u002F\u002Fgithub.com\u002Fstanfish06\u002Fskillquarium\u002Fblob\u002Fmaster\u002Fskills\u002Fdatabase-observability\u002Freferences\u002Fqueries-alerts.md",[61,69,77,84,91,98],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":65,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":19},"01M76ZJTRVA456GD7K8Y3EP82H","zarr-python","Stores and queries chunked N-D scientific arrays with Zarr-Python 3, including codecs, sharding, S3\u002FGCS storage, and NumPy\u002FDask\u002FXarray integration. Use for array layout, bounded I\u002FO, format migration, or scientific metadata preservation.","MIT","https:\u002F\u002Fgithub.com\u002Fstanfish06\u002Fskillquarium\u002Fblob\u002Fmaster\u002Fskills\u002Fzarr-python\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":73,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":19},"01M76ZJQZ15Q1HKC5V85NHE325","yeet","Publish local changes to GitHub by confirming scope, committing intentionally, pushing the branch, and opening a draft PR through the GitHub app from this plugin, with `gh` used only as a fallback where connector coverage is insufficient.","https:\u002F\u002Fgithub.com\u002Fstanfish06\u002Fskillquarium\u002Fblob\u002Fmaster\u002Fskills\u002Fyeet\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fstanfish06\u002Fskillquarium\u002Fblob\u002Fmaster\u002Fskills\u002Fyeet\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":19},"01M76ZJ8ASZ4QYQ70Y6SBA4Z4S","xarray","N-dimensional labeled arrays and datasets in Python. Built on top of NumPy and Dask. It introduces labels in the form of dimensions, coordinates, and attributes on top of raw NumPy-like arrays, making data analysis in physical sciences more intuitive and less error-prone. Use for working with multi-dimensional scientific data, NetCDF\u002FGRIB\u002FZarr files, climate\u002Fweather\u002Foceanographic datasets, remote sensing, geospatial imaging, large out-of-memory datasets with Dask, and labeled array operations.","https:\u002F\u002Fgithub.com\u002Fstanfish06\u002Fskillquarium\u002Fblob\u002Fmaster\u002Fskills\u002Fxarray\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":65,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":19},"01M76ZHFBXD6VXPQ02VCEG202B","writing-mstest-tests","Use when asked to fix, rewrite, update, improve, modernize, show corrected code for, or explain existing MSTest tests or MSTest-specific configuration. Use for \"review\" when corrected code or edits are wanted, even for one pasted assertion or passing tests with bad failure output. Covers expected\u002Factual labels; generic Boolean, collection, string, numeric, null, identity, exception, hard-cast, and object[] checks; TestContext\u002Flifecycle; timeout\u002Fcancellation; OS\u002FCI conditions, retry, cleanup, parallelization, MSTest.Sdk project setup, and MSTESTxxxx. Honor the installed MSTest version. DO NOT USE to design new test cases (code-testing), perform report-only audits, create project files rather than explain MSTest setup, run tests, migrate frameworks, or handle non-MSTest\u002Fnon-.NET code.","https:\u002F\u002Fgithub.com\u002Fstanfish06\u002Fskillquarium\u002Fblob\u002Fmaster\u002Fskills\u002Fwriting-mstest-tests\u002FSKILL.md",[],[],{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":65,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":19},"01M76ZDFDF4N88RH6HSYGS7GP2","wgs-prs","End-to-end WGS to polygenic risk score pipeline. Takes paired-end FASTQ files (or a pre-existing VCF) through nf-core\u002Fsarek for variant calling, applies VCF QC (normalisation, hard filtering, Ti\u002FTv and Het\u002FHom checks), then computes polygenic risk scores via the PGS Catalog. Fills the FASTQ to VCF gap upstream of the gwas-prs skill.","https:\u002F\u002Fgithub.com\u002Fstanfish06\u002Fskillquarium\u002Fblob\u002Fmaster\u002Fskills\u002Fwgs-prs\u002FSKILL.md",[],[],{"skillNo":99,"name":100,"nameZh":6,"description":101,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":102,"sourceHtmlUrl":103,"categories":104,"keywords":105,"publishedAt":19},"01M76ZCC1SC68J42QK4MDC8RCG","webapp-testing","Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.","https:\u002F\u002Fgithub.com\u002Fstanfish06\u002Fskillquarium\u002Fblob\u002Fmaster\u002Fskills\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fstanfish06\u002Fskillquarium\u002Fblob\u002Fmaster\u002Fskills\u002Fwebapp-testing\u002FSKILL.md",[],[]]