Skip to content

Commit

Permalink
Merge pull request #38 from dbecorp/further-simplication
Browse files Browse the repository at this point in the history
Simplify hercules config file further
  • Loading branch information
jakthom authored Oct 23, 2024
2 parents 3d59ff3 + 0437de7 commit 9c82b50
Showing 1 changed file with 1 addition and 25 deletions.
26 changes: 1 addition & 25 deletions hercules.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,29 +9,5 @@ globalLabels:
- env: $ENV # Inject prometheus labels from env var

packages:
# - package: hercules-packages/snowflake/performance/1.0.yml
- package: hercules-packages/snowflake/performance/1.0.yml
- package: hercules-packages/example/nyc-taxi/1.0.yml

extensions:
core:
- name: inet
- name: vss
- name: icu
- name: fts

community:
- name: lindel # Linearization/Delinearization, Z-Order, Hilbert and Morton Curves
- name: prql # Pipelined Relational Query Language
- name: chsql # Clickhouse macros and functions

macros:
- sql: create or replace macro one() AS (SELECT 1);

metrics:
gauge:
- name: one_one_one_one
help: Testing the one() macro
enabled: true
sql: select struct_pack(user := 'yo') as labels, one();
labels:
- user

0 comments on commit 9c82b50

Please sign in to comment.