Skip to content

Commit 8c30eae

Browse files
Release/0.9.3 (#45)
* initializing release 0.9.3 * Changelog 0.9.3 draft * updating actions to run on main branch * refactoring almost all markdown docs into docs folder * added bash scripts test suite * testing doc build * updated docs to be alined with building, formatting, and linting * testing agent sql content * package script tests * refactoring scripts location into dedicated folders * refactoring scripts content and adjusting tests * refactoring current working directory into a constant * code cleanup * refactoring instruments to semantics * refactoring code to rename instruments to semantics * refactored compile to generates Semantics * updating tests * clean up after refactoring from instruments to Semantics * refactoring to avoid duplicated code between build and tests * ensuring tests can run with metic semantics generated in the new way * json -> yaml conversion bash * coverting with git mv + tests * refactoring json to yaml * refactoring tool location * converting plugin configs to yaml * refactoring references from json to yaml * unifying yaml to yml * refactoring json to yaml - tests * configuration migration from json to yaml - done * tests adjusted to the json to yaml migration * refactoring credentials.json to yaml * updating documentation to match changes * rename credentials template YAML file * updating documentation and tests for yaml credentials * updating documentation on the breaking changes * cleaned up docs * cleaning up yaml file names * refactor: standardize configuration file extension from .yaml to .yml * implementing PR comments * lint fixes * improving test * refactor: add code quality checks for Python files and SQL linting in build * refactor: update changelog to remove git-flow documentation * refactor: increase timeout values for build and documentation scripts * refactor: enhance CI and linting processes with JSON schema validation * include BOM in documentation; clean up tables in markdown * feat: add markdown table generation utility for improved documentation formatting * improving documentation * issues detected in PR * Remove duplicate fields and validate timestamps (#39) * remove overwritten1 fields from event_log entries - duplicated resource.attributes * adjusting timestamp to fit allowed ranges; report as ms * add support for ISO format datetime strings in timestamp conversion * remove unnecessary fields (resource.attributes) from event log entries to fix tests * update CHANGELOG.md to include fixes for log timestamp handling and duplicated resource attributes in event log entries * cleaning up telemetry.sdk.language=python from OTEL logs/spans payload * remove overwritten1 fields from event_log entries - duplicated resource.attributes * adjusting timestamp to fit allowed ranges; report as ms * add support for ISO format datetime strings in timestamp conversion * remove unnecessary fields (resource.attributes) from event log entries to fix tests * update CHANGELOG.md to include fixes for log timestamp handling and duplicated resource attributes in event log entries * cleaning up telemetry.sdk.language=python from OTEL logs/spans payload * setting timestamp in logs correctly * Update test/_mocks/telemetry.py * rearchitect deployment to simpler stages, including optional init (#41) * update docs on configuration * #33 refactoring scripts location to split between init and setup * #33 apikey can simply update objects now * #33 dropping old objects during upgrade * #33 allowing to change resource monitor quota without admin rights * #33 complete location refactoring of core code * #33 cleanup * #33 ensuring no accountadmin rights are required outside init * #33 refactoring ownership cleanup to upgrade into OSS version * refactor: consolidate configuration updates and add new procedures for dynamic configuration management * refactor: clean up configuration table setup and remove unused temporary table logic * refactor: update configuration options for plugins in template and documentation * Refactor F_GET_CONFIG_VALUE function from APP to CONFIG - Updated SQL queries to use DTAGENT_DB.CONFIG.F_GET_CONFIG_VALUE instead of DTAGENT_DB.APP.F_GET_CONFIG_VALUE for consistency. - Update test/test_results - Added new upgrade/032_f_get_config_value.sql to drop the existing function DTAGENT_DB.APP.F_GET_CONFIG_VALUE. * refactoring APP.F_LAST_PROCESSED_TS to STATUS.F_LAST_PROCESSED_TS - updated usage - update test/ test_results - add upgrade script removing old version of the function * whitespace cleanup * refactor: enhance plugin handling in compile script - generate block annotations around plugin code * refactor: build script consolidates source files into main stages init, upgrade, setup, plugins, config, and agents * refactor: update build and package scripts to streamline directory creation and file copying; tests aligned with changes introduced * feat: add script to list plugins to exclude from deployment package based on configuration * refactor: update deploy script to use named parameters for better clarity and add plugin exclusion handling * refactor: update prepare_deploy_script.sh to use SCOPE and FROM_VERSION parameters for improved clarity and functionality * refactor: enhance deploy and build scripts for improved SQL file handling and version filtering * refactor: update deployment scripts to correct plugin exclusion script name and remove unnecessary configuration update logic * refactor: improve version filtering logic in prepare_deploy_script.sh for upgrade scope * refactor: reorganize plugin filtering logic in prepare_deploy_script.sh for improved clarity and functionality * refactor: enhance SQL comment handling in prepare_deploy_script.sh and build.sh for improved processing * refactor: streamline comment removal and tag handling in deployment scripts for improved maintainability * refactor: add docstring removal functionality to streamline build process * refactor: enhance docstring removal logic for improved accuracy in compile process * refactor: remove artifact validation from build script and enhance compile process logging * refactor: enhance docstring removal logic to preserve plugin markers and improve section processing * refactor: restructure plugin execution logic for improved clarity and maintainability * refactor: fix destination file argument in preprocessing step for correct formatting * refactor: add manual option to prepare_deploy_script.sh and update related tests * refactor: standardize quotes in config-default.yml and update entries in recent_queries2.pkl to match functions being refactored from APP schema to respective CONFIG and STATE schemas * refactor: enhance deploy and prepare_deploy_script.sh for manual mode and output file handling; testing new features in deploy * refactor: update SQL file processing in prepare_deploy_script.sh and enhance test cases for config handling * refactor: update main_agent procedure and implement TestPlugin and ActivePlugin classes in test_prepare_deploy_script.bats * refactor: streamline docstring formatting in remove_docstrings.py and logs.py * refactor: enhance deployment documentation with detailed parameters and examples for deploy.sh * chore: trigger CI to rerun with formatted files * syncing black formatting to v 26.1 * Update scripts/deploy/refactor_field_names.sh * refactor to have objects initialized in the correct order * fixing problems * Add copyright header verification test and update linting commands * Fix SQL procedure to alter resource monitor credit quota instead of creating a new one * refactor: introducing DTAGENT_OWNER role; DTAGENT_ADMIN related scripts moved to admin stage * Refactor roles and permissions in SQL scripts - Updated role usage from DTAGENT_ADMIN to DTAGENT_OWNER across multiple SQL scripts to ensure proper access control. - Added new initialization script for creating the DTAGENT_ADMIN role and granting necessary privileges to facilitate monitoring. - Ensured consistent permission handling for various views, procedures, and tasks related to shares, users, and warehouse usage. - Improved code readability by removing unnecessary comments and ensuring consistent formatting. * refactor: update owner to DTAGENT_OWNER * refactor: update roles to DTAGENT_OWNER in SQL scripts and grant permissions accordingly * refactor: update ownership of EVENT_LOG table and view to DTAGENT_OWNER * refactor: move to admin scope * refactor: update grants for DTAGENT_ADMIN and DTAGENT_VIEWER roles in dynamic tables scripts * refactor: enhance documentation and build process for DTAGENT_OWNER role and admin scope * refactor: clean up docstrings in test_admin_role_usage.py for clarity * refactor: update deployment scopes and SQL file organization for clarity and structure (code, tests, documentation) * refactor: enhance role usage tests and deployment scope validation for DTAGENT_ADMIN and ACCOUNTADMIN * refactor: remove unused imports in test_admin_role_usage.py for cleaner code * #33 refactor: update role assignments and permissions for DTAGENT_OWNER in SQL scripts * refactor: validate and update dynatrace_tenant_address domain in deployment script * refactor: remove LOG_LEVEL settings from procedures and update directory creation in deployment script * refactor: update log file naming convention and role management in SQL scripts * refactor: correct syntax for granting ownership on procedure DTAGENT_DB.APP.P_MONITOR_WAREHOUSES * refactor: add tests for ACCOUNTADMIN and DTAGENT_ADMIN role usage in deployment scopes * refactor: add data retention configuration and related tests for DTAGENT_DB * refactor: update flake8 configuration and enhance initialization docstrings across modules * refactor: enhance documentation on role model and deployment flexibility in INSTALL and CHANGELOG * refactor: enhance deployment script to support multiple scopes and add corresponding tests * refactor: enhance plugin configurations and add comments for DTAGENT_ADMIN tasks * refactoring: add initialization script for DTAGENT_ADMIN role in Snowflake moved to admin scope * refactor: enhance documentation and role model for DTAGENT_ADMIN, clarifying optional scope and privileges * refactor: add comments for clarity in F_GET_FINISHED_QUERIES and F_GET_RUNNING_QUERIES procedures * refactor: update regex pattern for 'all' scope case in deployment script test * refactor: allow 'apikey' scope to be combined with other scopes for flexible deployment * refactor: restructure Snowflake configuration for improved organization and flexibility * refactor: update test for nested snowflake configuration structure and add migration script for path changes * refactor: add resource monitor option annotations in deployment and configuration scripts * feat: Add filtering for optional components in deployment scripts - Implemented a new filter function to exclude disabled optional components from deployment scripts based on configuration. - Enhanced the documentation generation to include optional and config_key information in the BOM tables. - Updated the BOM configuration to mark certain roles and resources as optional with corresponding config keys. - Added new scripts to list options to exclude based on configuration values. - Created integration tests to validate the behavior of admin scope with disabled roles and the functionality of the options exclusion script. - Developed tests for filtering OPTION blocks in SQL scripts to ensure proper handling of optional components. * refactor: remove obsolete test scripts and add new tests for optional object handling * feat: Implement custom object naming and validation in deployment scripts * feat: Enhance BOM schema with optional properties and configuration keys * style: Format required fields in BOM schema for better readability * docs: Update INSTALL and CHANGELOG for custom object naming and deployment without admin rights * docs: Revise INSTALL.md to enhance clarity and structure with detailed sections on prerequisites, deployment commands, and common mistakes * feat: Enhance Snowflake configuration handling by deriving account name and host name, and update INSTALL.md for clarity on account identifier formats * docs: Update INSTALL.md and config-template.yml for improved Snowflake account configuration guidance and performance recommendations * refactor: Update Snowflake configuration structure and add tests for account info retrieval * style: Normalize quotes in config-merge-test.yml for consistency * fix: Ensure consistent formatting of option comments in SQL files * Enhance CONTRIBUTING.md and add Plugin Development Guide (#44) * Enhance CONTRIBUTING.md and add Plugin Development Guide - Reorganized the table of contents for better navigation. - Introduced a new section on writing plugins, linking to the comprehensive Plugin Development Guide. - Expanded the Plugin Development Guide with detailed instructions on plugin structure, creation, configuration, and testing. - Included best practices for naming conventions, SQL, Python, and testing. - Added troubleshooting tips for common issues encountered during plugin development. * small fixed and adding API urls * fixed autoresume when deploying * Update Plugin Development Guide with best practices and SQL view usage * Update Plugin Development Guide to clarify plugin categories and enhance code block formatting * Enhance Plugin Development Guide with detailed structure and requirements for instrumented views and procedures * Revise Plugin Development Guide for clarity and structure; enhance naming conventions and best practices sections * Add new assets and improve documentation styling - Added new images for data platform observability and DSOA. - Updated CSS for improved table styling in documentation. - Modified update_docs.py to include plugin development content in README. - Updated paths for DSOA logo in configuration readme. - Enhanced error handling in Snowflake account info retrieval. - Added tests for markdown linting, image path correctness, and PDF generation integrity. * Refactor table generation functions to support compact formatting for improved PDF rendering * Add function to compact markdown tables for improved PDF rendering * Refactor table generation functions to remove compact formatting option for improved clarity and maintainability * Refactor test setup to streamline documentation build process and improve output handling * Update CHANGELOG for Dynatrace Snowflake Observability Agent 0.9.3 release, detailing breaking changes, new features, and improvements. * Refactor CHANGELOG for clarity and consistency, consolidating breaking changes, new features, and fixes for Dynatrace Snowflake Observability Agent 0.9.3 * Refactor _get_snowflake_account_info to handle Row objects and improve error handling in tests * Update .gitignore to change config-download file extension from .json to .yml * Update INSTALL.md to clarify usage of the 'tag' configuration option for multitenancy scenarios * Refactor ownership grants in dtagent.sql to conditionally check for table existence before granting permissions * Update ownership grants in 002_init_db.sql to revoke current grants for roles * Update schema initialization scripts to use ACCOUNTADMIN role and grant ownership with revocation of current grants * Refactor ownership grant script to use EXECUTE IMMEDIATE and improve formatting * Add upgrade scope handling and tests for deployment scripts - Enhance `prepare_deploy_script.sh` to validate `--from-version` for upgrade scope. - Implement filtering logic for upgrade versions in deployment scripts. - Add tests to verify correct behavior for upgrade scope and version filtering in `test_prepare_deploy_script.bats` and `test_deployment_scripts.bats`. * Add ownership grants for DTAGENT_OWNER across all relevant objects in version 0.9.3 * Update SQL upgrade scripts to use ACCOUNTADMIN role and refine procedure drop statements * Refactor bash test execution to use pytest and pytest-tap for improved reporting * Remove unnecessary blank line in test_bash_scripts.py * Refactor procedure calls in 700_dtagent.sql to use a single ARRAY_CONSTRUCT for improved readability * Refactor timestamp handling in Logs class for improved clarity and efficiency * Refactor _get_snowflake_account_info to handle Row objects and improve error handling in tests * Update .gitignore to change config-download file extension from .json to .yml * Update INSTALL.md to clarify usage of the 'tag' configuration option for multitenancy scenarios * Refactor ownership grants in dtagent.sql to conditionally check for table existence before granting permissions * Update ownership grants in 002_init_db.sql to revoke current grants for roles * Update schema initialization scripts to use ACCOUNTADMIN role and grant ownership with revocation of current grants * Refactor ownership grant script to use EXECUTE IMMEDIATE and improve formatting * Add upgrade scope handling and tests for deployment scripts - Enhance `prepare_deploy_script.sh` to validate `--from-version` for upgrade scope. - Implement filtering logic for upgrade versions in deployment scripts. - Add tests to verify correct behavior for upgrade scope and version filtering in `test_prepare_deploy_script.bats` and `test_deployment_scripts.bats`. * Add ownership grants for DTAGENT_OWNER across all relevant objects in version 0.9.3 * Update SQL upgrade scripts to use ACCOUNTADMIN role and refine procedure drop statements * Refactor bash test execution to use pytest and pytest-tap for improved reporting * Remove unnecessary blank line in test_bash_scripts.py * Refactor procedure calls in 700_dtagent.sql to use a single ARRAY_CONSTRUCT for improved readability * Refactor timestamp handling in Logs class for improved clarity and efficiency * Enhance documentation by standardizing references to Dynatrace Snowflake Observability Agent as DSOA for consistency and clarity * Improve documentation clarity and consistency by refining descriptions and standardizing section titles across multiple files * Enhance documentation clarity by standardizing section titles and improving image descriptions across multiple files * Enhance documentation clarity by standardizing terminology and improving section titles in README files * Enhance documentation by adding example flow and process steps to the architecture section for improved clarity * Enhance documentation by adding a section for deploying with custom object names and providing a step-by-step guide for initialization scripts * Enhance configuration and documentation to support API integration customization * Add warning display for failed bizevent telemetry during deployment * Fix timestamp validation in Logs class to ensure correct ingest of observed timestamps * Enhance _cleanup_data function to normalize mixed-type sequences to strings and add comprehensive unit tests * Enhance _cleanup_data function to intelligently normalize mixed-type sequences and update unit tests accordingly * Refactor warning messages in deploy script to use heredoc for improved readability * Refactor _cleanup_data function to improve numeric type normalization and enhance readability * Enhance INSTALL.md to clarify optional and required configuration objects for deployment * Enhance documentation and scripts to support multitenancy with TAG and custom names * Add multitenancy tag support in TestConfiguration initialization * Enhance logging configuration in SQL scripts to improve troubleshooting capabilities * Update log level settings in SQL scripts to INFO for improved logging in Dynatrace * Improve regex patterns in filter_option_code for optional whitespace handling * Add tests for OPTION filtering to validate resource monitor handling * Enhance installation and deployment documentation for agent procedures and plugin handling * Add event log plugin annotations to query history SQL files for improved tracing * Add Snowtrail correlation note to query history plugin documentation * Add tests for query_history plugin behavior with event_log dependency * Refactor query_history event_log dependency tests for improved clarity and consistency * Add Snowtrail correlation note to query history plugin documentation and enhance test setup for event_log integration * Clarify deployment conditions for DTAGENT_DB.APP.DTAGENT() in documentation * Enhance timestamp validation in logging and utility functions with comprehensive tests * Improve logging timestamp validation and clean up utility function error handling * Allow for precision loss in timestamp validation due to floating point arithmetic * Add metrics section existence check and improve metrics processing logic * Enhance documentation for resource monitor privileges and update procedures in SQL scripts * Enhance tests for multi-scope handling in prepare_deploy_script.sh and improve file validation logic * Enhance timestamp handling in Logs class and improve test coverage for observed_timestamp * Refactor _cleanup_data function to simplify return logic for numeric and string normalization * Remove unused import of 'log' from math module in logs.py * #12 Update self-monitoring dashboard queries and enhance plugin context handling * #12 Add Snowflake Query Quality Dashboard and documentation - Introduced a new dashboard to analyze Snowflake queries with full cartesian joins, highlighting potential query quality issues. - Implemented interactive variables for filtering by account, database operation, and user. - Added visualizations for time series analysis by environment, operation, and user, along with distribution analysis through pie charts. - Included a detailed query log for the most recent cartesian join queries. - Documented the purpose, features, and technical details of the dashboard in the README file. * #12 Add Snowflake Query Performance Dashboard and Documentation - Introduced a new dashboard for monitoring Snowflake query performance, providing insights into execution times across accounts, databases, tables, and users. - Implemented cascading variables for dynamic filtering: Account, DB_Name, DB_Table, and User. - Added visualizations including line charts, area charts, and donut charts to analyze query execution time trends and identify resource-intensive queries. - Included advanced analytics with AI-powered anomaly detection to correlate query performance with table size growth. - Created a comprehensive README to document the dashboard's purpose, features, and technical details. * #12 Add new dashboards documentation and enhance query performance insights * #12 Update release date for version 0.9.3 in CHANGELOG.md * #12 Fix plugin name reference in self-monitoring dashboard and update data volume title * #12 Add dashboard YAML to JSON conversion script and update Costs Monitoring dashboard name * #12 Enhance README and tests to clarify JSON dashboard files in distribution package * #12 Update installation and dashboard documentation to clarify JSON import process * #12 Update README and BOM configuration to clarify example dashboards and add resource monitor privileges * #12 Refactor documentation structure by updating PLUGINS.md formatting, removing deprecated readme.md, and streamlining README content generation * #12 Add scripts for converting JSON to YAML and vice versa * #12 Update script paths in documentation and conversion scripts for consistency * #12 Improve dashboard conversion error handling and update documentation generation logic * #12 Enhance Snowflake queries in dashboards by adding filters and optimizing field handling * Add error handling and status reporting for inbound shares * Fix metric dimension formatting and enhance escaping utility function * Update test_query_history_results.txt to reflect new file version and size * Remove main execution block from test_metrics_formatting.py
1 parent 63c9536 commit 8c30eae

File tree

352 files changed

+19622
-5796
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

352 files changed

+19622
-5796
lines changed

.flake8

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[flake8]
22
max-line-length = 140
33
exclude = .git,__pycache__,build,dist,.venv
4-
extend-ignore = E501,W291,W293,W391,W503,E402,E731,F401,F841,E265,E203
4+
extend-ignore = E501,W291,W293,W391,W503,E402,E731,F401,F841,E265,D400,D401,D202,D205,E203
55
per-file-ignores =
6-
test/*: E713,E265,E203
6+
test/*: E713,E265,E203,D100,D101,D102,D103,D104,D105,D106,D107,D400,D401,D205
77
build/*: E231,F811,E302,E303,E305

.github/workflows/ci.yml

Lines changed: 41 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: Quality Checks
22

33
on:
44
push:
5-
branches: ["devel", "master", "dev/*", "release/*", "feature/*", "hotfix/*"]
5+
branches: ["devel", "main", "dev/*", "release/*", "feature/*", "hotfix/*"]
66
pull_request:
7-
branches: ["devel", "master", "dev/*", "release/*", "feature/*", "hotfix/*"]
7+
branches: ["devel", "main", "dev/*", "release/*", "feature/*", "hotfix/*"]
88

99
jobs:
1010
lint:
@@ -20,11 +20,11 @@ jobs:
2020

2121
- name: Install dependencies
2222
run: |
23-
pip install flake8 black sqlfluff yamllint pylint
23+
pip install flake8 black sqlfluff yamllint pylint check-jsonschema
2424
npm install -g markdownlint-cli
2525
2626
- name: Lint Python
27-
run: flake8 src/ test/ || exit 1
27+
run: flake8 --config=.flake8 src/ test/ || exit 1
2828

2929
- name: Format Python
3030
run: black --check src/ test/ || exit 1
@@ -43,6 +43,9 @@ jobs:
4343
- name: Lint Markdown
4444
run: markdownlint '**/*.md' || exit 1
4545

46+
- name: Lint BOM files
47+
run: find src -name "bom.yml" -exec sh -c 'printf "%-50s " "$$1"; check-jsonschema --schemafile test/src-bom.schema.json "$$1" || check-jsonschema --schemafile test/src-bom.schema.json "$$1"' _ {} \;
48+
4649
test-documentation:
4750
runs-on: ubuntu-latest
4851
steps:
@@ -61,6 +64,30 @@ jobs:
6164
- name: Run TestDocumentation tests
6265
run: pytest test/core/test_documentation.py -k "TestDocumentation"
6366

67+
test-bash:
68+
runs-on: ubuntu-latest
69+
steps:
70+
- name: Checkout code
71+
uses: actions/checkout@v4
72+
73+
- name: Set up Python
74+
uses: actions/setup-python@v5
75+
with:
76+
python-version: "3.11.12"
77+
78+
- name: Install dependencies
79+
run: |
80+
pip install -r requirements.txt
81+
pip install pytest-mock
82+
83+
- name: Install system dependencies
84+
run: |
85+
sudo apt-get update
86+
sudo apt-get install -y bats jq gawk pandoc zip
87+
88+
- name: Run bash tests
89+
run: pytest test/core/test_bash_scripts.py -v
90+
6491
test-core:
6592
runs-on: ubuntu-latest
6693
steps:
@@ -83,6 +110,11 @@ jobs:
83110
pip install -r requirements.txt
84111
pip install pytest-mock
85112
113+
- name: Install JQ (for tests)
114+
run: |
115+
sudo apt-get update
116+
sudo apt-get install -y jq
117+
86118
- name: Run core tests
87119
run: |
88120
pytest test/core/test_config.py -k "TestConfig"
@@ -116,5 +148,10 @@ jobs:
116148
pip install -r requirements.txt
117149
pip install pytest-mock
118150
151+
- name: Install JQ (for tests)
152+
run: |
153+
sudo apt-get update
154+
sudo apt-get install -y jq
155+
119156
- name: Run plugin tests
120157
run: pytest test/plugins/

.github/workflows/release.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ on:
44
push:
55
branches:
66
- main
7-
- devel
87
tags:
98
- "v*"
109
workflow_dispatch:

.gitignore

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,25 @@ connection.json
44
*.token
55
config.json
66
config-*.json
7+
config.yml
8+
config-*.yml
9+
conf/*.sql
710
snowflake.local.yml
811
output/**
912
log.*
1013
*.log
11-
*credentials*.json
14+
*credentials*.*
1215
*.pyc
1316
build/*
1417
package/*
1518
.logs/*
16-
instruments-def.json
19+
instruments-def.*
1720
metrics/*
1821
*.zip
1922
!config-basic.json
2023
LICENSE.md
2124
*-deploy-script*
2225
*.pdf
23-
test/conf/*config-download.json
24-
dynatrace-snowflake-observability-agent
26+
test/conf/*config-download.yml
27+
dynatrace-snowflake-observability-agent
28+
*.pkg

.markdownlint.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,6 @@
77
"MD041": false,
88
"MD033": false,
99
"MD022": false,
10-
"MD028": false
10+
"MD028": false,
11+
"MD048": false
1112
}

.sqlfluff

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[sqlfluff]
22
dialect = snowflake
3-
exclude_rules = L009,L010,CV06,LT01,CP02,CP03,LT02,RF04,LT08,RF03,AL01,AL09,CV03,ST06,RF02,AM05,AL08,ST07,AM04,LT04,AL05,CV02,LT03,LT05,CP05,ST01,LT09,CP04,AM02,AL03,LT14,LT15,AM06,ST09
3+
exclude_rules = L009,L010,CV06,LT01,CP02,CP03,LT02,RF04,LT08,RF03,AL01,AL09,CV03,ST06,RF02,AM05,AL08,ST07,AM04,LT04,AL05,CV02,LT03,LT05,CP05,ST01,LT09,CP04,AM02,AL03,LT14,LT15,AM06,ST09,AM09,LT06
44
max_line_length = 140
55
large_file_skip_byte_limit = 0
66
ignore_parse_errors = True

.vscode/settings.json

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
"cSpell.words": [
3333
"Acceldata",
3434
"ACCOUNTADMIN",
35+
"accountname",
3536
"addopts",
3637
"apikey",
3738
"argjson",
@@ -43,6 +44,7 @@
4344
"dashboarding",
4445
"DATEADD",
4546
"deadsnakes",
47+
"dealerting",
4648
"dedup",
4749
"descr",
4850
"devel",
@@ -54,11 +56,14 @@
5456
"ECAC",
5557
"ensurepath",
5658
"externalbrowser",
59+
"Gbytes",
5760
"getsizeof",
61+
"gsub",
5862
"HISTCONTROL",
5963
"Huyen",
6064
"ignorespace",
6165
"indentless",
66+
"INPLACE",
6267
"isna",
6368
"JDBC",
6469
"jdoe",
@@ -81,11 +86,16 @@
8186
"misallocated",
8287
"Mitich",
8388
"Mizrahi",
89+
"mktemp",
90+
"msecs",
8491
"multitenancy",
92+
"myaccount",
93+
"myorg",
8594
"mysnowflake",
8695
"Neev",
8796
"numpy",
8897
"openpipeline",
98+
"orgname",
8999
"pandoc",
90100
"pango",
91101
"parseable",
@@ -101,6 +111,9 @@
101111
"Ramdoss",
102112
"representer",
103113
"resattr",
114+
"RLENGTH",
115+
"RSTART",
116+
"SDLC",
104117
"Secoda",
105118
"SECURITYADMIN",
106119
"Shukla",
@@ -109,7 +122,9 @@
109122
"snowflakedb",
110123
"snowpark",
111124
"SNOWPIPE",
125+
"Snowtrail",
112126
"softprops",
127+
"Sparklines",
113128
"specversion",
114129
"spendings",
115130
"SQLERRM",
@@ -127,6 +142,7 @@
127142
"UNDROP",
128143
"unforseen",
129144
"UNREDACTED",
145+
"useast",
130146
"USECASES",
131147
"uuidgen",
132148
"venv",
@@ -165,7 +181,7 @@
165181
"MD028": false
166182
},
167183
"markdown.extension.toc.updateOnSave": true,
168-
"markdown.extension.toc.unorderedList.marker": "*",
184+
"markdown.extension.toc.unorderedList.marker": "-",
169185
"markdown.extension.toc.levels": "2..6",
170186
"markdown.extension.toc.orderedList": false,
171187
"markdown.extension.toc.slugifyMode": "github",

.vscode/tasks.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
{
77
"label": "compile",
88
"type": "shell",
9-
"command": "if [ -f \"${workspaceFolder}/.venv/bin/activate\" ]; then source \"${workspaceFolder}/.venv/bin/activate\"; fi && ${workspaceFolder}/compile.sh",
9+
"command": "if [ -f \"${workspaceFolder}/.venv/bin/activate\" ]; then source \"${workspaceFolder}/.venv/bin/activate\"; fi && ${workspaceFolder}/scripts/dev/compile.sh",
1010
"presentation": {
1111
"echo": true,
1212
"reveal": "always",
@@ -25,7 +25,7 @@
2525
{
2626
"label": "build",
2727
"type": "shell",
28-
"command": "if [ -f \"${workspaceFolder}/.venv/bin/activate\" ]; then source \"${workspaceFolder}/.venv/bin/activate\"; fi && ${workspaceFolder}/build.sh",
28+
"command": "if [ -f \"${workspaceFolder}/.venv/bin/activate\" ]; then source \"${workspaceFolder}/.venv/bin/activate\"; fi && ${workspaceFolder}/scripts/dev/build.sh",
2929
"presentation": {
3030
"echo": true,
3131
"reveal": "silent",
@@ -44,7 +44,7 @@
4444
{
4545
"label": "build docs",
4646
"type": "shell",
47-
"command": "if [ -f \"${workspaceFolder}/.venv/bin/activate\" ]; then source \"${workspaceFolder}/.venv/bin/activate\"; fi && ${workspaceFolder}/build_docs.sh",
47+
"command": "if [ -f \"${workspaceFolder}/.venv/bin/activate\" ]; then source \"${workspaceFolder}/.venv/bin/activate\"; fi && ${workspaceFolder}/scripts/dev/build_docs.sh",
4848
"options": {
4949
"cwd": "${workspaceFolder}"
5050
},

0 commit comments

Comments
 (0)