Tushar Vats
6d416061f2
fix: legacy logs ttl ( #9345 )
...
This pull request introduces support for setting TTL (Time-To-Live) on logs tables in ClickHouse, including both backend logic and integration tests. The main changes add back method for setting TTL on logs tables, update the TTL API to handle logs, and provide robust test coverage for legacy and new TTL flows.
2025-10-17 17:18:15 +05:30
Vibhu Pandey
1793026c78
fix(tokenizer): fix cache invalidation on delete ( #9352 )
...
fix cache invalidation on delete
2025-10-16 17:36:52 +00:00
Vibhu Pandey
c122bc09b4
feat(tokenizer|sso): add tokenizer for session management and oidc sso support ( #9183 )
...
## 📄 Summary
- Instead of relying on JWT for session management, we are adding another token system: opaque. This gives the benefits of expiration and revocation.
- We are now ensuring that emails are regex checked throughout the backend.
- Support has been added for OIDC protocol
2025-10-16 18:00:38 +05:30
Ekansh Gupta
ecd9498970
feat: add bidirectional keys for http.url and net.peer.name ( #9208 )
...
* feat: add bidirectional keys for http.url and net.peer.name
* feat: added bidirectional key maps
* feat: addressed comments regarding redundancy and batchKeys
* feat: addressed comments regarding redundancy and batchKeys
* feat: addressed comments regarding redundancy and batchKeys
* feat: added test cases for bidirectional key mapping
* feat: addressed comments for tests
2025-10-14 16:29:25 +00:00
Vikrant Gupta
bac8f8b211
Revert "feat(sql): swap mattn/sqlite with modernc.org/sqlite ( #9325 )" ( #9338 )
...
This reverts commit c62d41edf0 .
2025-10-14 15:01:51 +00:00
Vikrant Gupta
800a34e625
Revert "feat(sql): increase busy timeout ( #9336 )" ( #9337 )
...
This reverts commit 934c09b36b .
2025-10-14 20:21:51 +05:30
Vikrant Gupta
934c09b36b
feat(sql): increase busy timeout ( #9336 )
2025-10-14 13:23:57 +00:00
Vikrant Gupta
c62d41edf0
feat(sql): swap mattn/sqlite with modernc.org/sqlite ( #9325 )
...
* feat(sql): swap mattn/sqlite with modernc.org/sqlite
* feat(sql): revert the dashboard testing changes
* feat(sql): enable WAL mode for sqlite
* feat(sql): revert enable WAL mode for sqlite
* feat(sql): use sensible defaults for busy_timeout
* feat(sql): add ldflags
2025-10-14 15:28:19 +05:30
Nageshbansal
dcc902fb27
chore(statsreporter): fix vultr platform detection in statsreporter ( #9326 )
...
* chore(statsreporter): fix vultr platform detection in statsreporter
* chore(statsreporter): adds comment for Vultr Detection order
2025-10-13 20:18:19 +00:00
Srikanth Chekuri
416e8d2a5e
fix: panic from label set conversion ( #9316 )
2025-10-12 18:14:16 +05:30
Niladri Adhikary
43a6c7dcd6
feat: add abs value function in formula ( #9315 )
...
Signed-off-by: “niladrix719” <niladrix719@gmail.com >
Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com >
2025-10-12 11:15:59 +00:00
Tushar Vats
3123447005
Added integration tests for TTL methods ( #9289 )
...
This pull request refactors how TTL (Time-To-Live) settings are applied for logs, metrics, and traces in the ClickHouse reader service. The main change is the removal of the dedicated setTTLLogs method and the consolidation of TTL logic to only support metrics and traces. The code now routes TTL requests based on type, and logs TTL is no longer handled.
2025-10-10 22:20:25 +05:30
Vikrant Gupta
a96489d06e
feat(authz): address tenant isolation for authz ( #9293 )
...
* feat(authz): address tenant isolation for authz
* feat(authz): handle role module self registry
* feat(authz): keep role / user / resource sync in naming
* feat(authz): rename orgId to orgID
* feat(authz): add the missing / for user
* feat(authz): remove embedding for pkgopenfgaauthz service
2025-10-08 17:04:00 +00:00
Nityananda Gohain
8c29debb52
fix: use numerical comparison instead of lexicographical for string-encoded numbers ( #9154 )
...
* fix: let clickhouse handle string to number conversion
* fix: ignore casting if it's a comparison operator for number key
* fix: add integration tests
* fix: update comments
* fix: convert only if it's actually not a integrer with comparison operator
* fix: force convert to float when number
* fix: integration tests
* fix: correct the comment
* fix: update comment
---------
Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com >
2025-10-08 14:21:40 +05:30
Srikanth Chekuri
9cebd49a2c
fix: anomaly with below operator negates the target ( #9288 )
2025-10-08 12:11:31 +05:30
Nageshbansal
101b3668b5
chore(statsreporter): fix azure IMDS endpoint in statsreporter ( #9243 )
2025-10-03 17:00:06 +00:00
Srikanth Chekuri
1b1aa4915b
chore: link to docs, QB flavour for expr and update options ( #9246 )
2025-10-03 21:50:56 +05:30
aniketio-ctrl
f9a70a3a69
chore: notification routing | added notificaiton routing via expression based routes ( #9195 )
...
* chore: added custom distpatcher
* feat(notification-grouping): added notification grouping
* feat(notification-grouping): addded integration test dependency
* feat(notification-grouping): linting and test cases
* feat(notification-grouping): linting and test cases
* feat(notification-grouping): linting and test cases
* feat(notification-grouping): addded integration test dependency
* feat(notification-grouping): debug log lines
* feat(notification-grouping): debug log lines
* feat(notification-grouping): debug log lines
* feat(notification-grouping): addded integration test dependency
* feat(notification-grouping): addded integration test dependency
* feat(notification-grouping): addded integration test dependency
* feat(notification-grouping): added structure changes
* feat(notification-grouping): added structure changes
* feat(notification-routing): added notification routing
* chore(notification-grouping): added notificaiton grouping
* Update pkg/alertmanager/nfmanager/rulebasednotification/provider.go
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* chore(notification-grouping): added renotification interval
* fix(notification-grouping): added fix for renotification
* chore(notificaiton-grouping): added no data renotify
* chore(notificaiton-grouping): added no data renotify
* chore(notificaiton-grouping): added no data renotify
* chore(notification-grouping): added no data renotify interval
* chore(notification-grouping): removed errors package from dispatcher
* chore(notification-grouping): removed errors package from dispatcher
* chore(notification-grouping): removed unwanted tests
* chore(notification-grouping): removed unwanted pkg name
* chore(notification-grouping): added delete notification setting
* chore(notification-grouping): added delete notification setting
* Update pkg/alertmanager/nfmanager/nfmanagertest/provider.go
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* chore(notification-grouping): removed nfmanager config| notification settings in postable rule
* chore(notification-grouping): removed nfmanager config| notification settings in postable rule
* chore(notification-grouping): added test for dispatcher
* chore(notification-grouping): added test for dispatcher
* chore(notification-grouping): go linting errors
* chore(notification-grouping): added test cases for aggGroupPerRoute
* chore(notification-grouping): added test cases for aggGroupPerRoute
* chore(notification-grouping): corrected get notification config logic
* Update pkg/alertmanager/nfmanager/rulebasednotification/provider_test.go
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* chore(notification-routing): added notification routing policies
* feat(notification-routing): added test cases for dispatcher
* chore(notification-routing): added notification routing policies
* chore(notification-routing): added notification routing policies
* Apply suggestions from code review
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* chore(notification-routing): added notification routing policies
* chore(notification-routing): added notification routing policies
* Update pkg/alertmanager/alertmanagerserver/distpatcher_test.go
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* chore(notification-routing): sorted imports
* chore(notification-routing): minor edit |pr resolve comments
* chore(notification-grouping): corrected dispatcher test cases
* chore(notification-routing): added notification routing policies
* chore(notification-routing): corrected race condition in test
* chore: resolved pr comments
* chore: passing threshold value to tempalte
* chore: completed delete rule functionality
* chore: added grouping disabled functionality
* chore: added grouping disabled functionality
* chore(notification-routing): resolved pr comments
* chore(notification-routing): resolved pr comments
* chore(notification-routing): resolved pr comments
* chore(notification-routing): sorted imports
* chore(notification-routing): fix linting errors
* chore(notification-routing): removed enabled flags
* fix: test rule multiple threhsold (#9224 )
* chore: corrected linting errors
* chore: corrected linting errors
* chore: corrected linting errors
* chore: corrected linting errors
* chore: corrected migration errors
* chore: corrected migration errors
* chore: corrected migration errors
* chore: corrected migration errors
* Update pkg/sqlmigration/049_add_route_policy.go
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* chore: added org_is as foreign key
* chore: resolved pr comments
* chore: removed route store unused
---------
Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com >
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-10-03 19:47:15 +05:30
Nityananda Gohain
d3be2632b6
fix: exists/not exists for resource attributes ( #9129 )
...
* fix: exists/not exists for resource attributes
* fix: update tests
* fix: remove unwanted changes
---------
Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com >
2025-10-03 05:42:42 +00:00
Srikanth Chekuri
78e4f4f386
fix: handle resource/attribute context collision with expression using paranthesis ( #9240 )
2025-10-03 10:16:06 +05:30
Nageshbansal
9ffe0d8143
chore(statsreporter): add nomad, vultr, aca platform detection ( #9220 )
2025-09-30 16:31:43 +05:30
Vikrant Gupta
1b818dd05d
feat(authz): build role module ( #9136 )
...
* feat(authz): build role module
* feat(authz): build role module
* feat(authz): refactor the role module to move transactions out
* feat(authz): add handler implementation except patch objects
* feat(authz): added the missing handler
* feat(authz): added changes for selectors
* feat(authz): added changes for selectors
* feat(authz): added changes for selectors
* feat(authz): make the role create handler just to create metadata
* feat(authz): address review comments
* feat(authz): address review comments
* feat(authz): address review comments
* feat(authz): address review comments
2025-09-29 17:45:52 +05:30
aniketio-ctrl
735b90722d
chore(notification grouping): added custom grouping in signoz dispatcher ( #8812 )
2025-09-26 13:24:58 +00:00
Ekansh Gupta
7ddaa84387
feat: add materialise ttl = 0 in set ttl v2 ( #9189 )
2025-09-26 05:44:13 +00:00
Niladri Adhikary
6d5f0adab9
fix: prevent panels with all queries disabled ( #9093 )
...
Signed-off-by: “niladrix719” <niladrix719@gmail.com >
2025-09-26 01:08:35 +00:00
Vikrant Gupta
0b4831ca04
chore(authz): bump up openfga version ( #9175 )
...
* chore(authz): bump up openfga version
* chore(authz): bump up openfga version
* chore(authz): bump up openfga version
---------
Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com >
2025-09-25 13:07:48 +05:30
Ekansh Gupta
80f0c6dd92
feat: added cold storage in set ttl v2 method ( #9151 )
...
* feat: added cold storage in set ttl v2 method
* feat: standardised cold storage ttl to days
* feat: added coldstorage ttl in response structure of get api
2025-09-25 06:57:20 +00:00
Vikrant Gupta
c68096152d
chore(clickhouse): bump ch-go ( #9169 )
...
* fix(integration): fix tests
* fix(integration): fix tests
* chore(clickhouse): bump ch-go
---------
Co-authored-by: Nityananda Gohain <nityanandagohain@gmail.com >
2025-09-24 15:10:29 +05:30
Ekansh Gupta
eb38dd548a
3rd party sem conv fix ( #8980 )
...
* feat: adding support for 1.26 semconv
* feat: adding support for 1.26 semconv
* feat: adding support for 1.26 semconv
* feat: adding support for 1.26 semconv
* feat: added native support for 1.26
* feat: added native support for 1.26
* feat: adding support for 1.26 semconv
* feat: adding support for 1.26 semconv
* feat: adding support for 1.26 semconv
* feat: resolved conflicts
* feat: resolved conflicts
* feat: resolved conflicts
* feat: resolved conflicts
* feat: resolved conflicts
* feat: fixed merge conflicts
* feat: fixed merge conflicts
* feat: added intermediate methods to fix response structure
* feat: fixed the errors on errors.newf
2025-09-23 10:55:59 +00:00
Nityananda Gohain
a564fa9d28
fix: dont accept materialized key from payload ( #9139 )
...
* fix: dont accept materialized key from payload
* fix: use correct omit operator
2025-09-22 05:11:57 +00:00
aniketio-ctrl
7f4390f370
fix: Edit and patch rule functionality ( #9125 )
...
* fix: fixed edit and patch rule functionality
* fix: fixed edit and patch rule functionality
* fix: fixed edit and patch rule functionality
* fix: added patch rule test and rule mock store
* fix: removed schema version field
* fix: removed schema version field
* fix: added test cases for patch, create, edit
* fix: removed schema version field
2025-09-21 17:48:31 +05:30
Vikrant Gupta
0c25de9560
feat(authz): build authz service ( #9064 )
...
* feat(authz): define the domain layer
* feat(authz): added openfga schema and split the enterprise code
* feat(authz): revert http handler
* feat(authz): address comments
* feat(authz): address comments
* feat(authz): typo comments
* feat(authz): address review comments
* feat(authz): address review comments
* feat(authz): update the oss model
* feat(authz): update the sequential check
2025-09-17 21:35:11 +05:30
Piyush Singariya
0626a89412
Revert "fix: upgrading clickhouse-go ( #8969 )" ( #9113 )
...
This reverts commit 5cd775f2b2 .
2025-09-17 16:31:02 +05:30
Piyush Singariya
5cd775f2b2
fix: upgrading clickhouse-go ( #8969 )
...
* test: upgrading clickhouse-go
* fix: go mod tidy
* fix: upgrade semconv
---------
Co-authored-by: Nityananda Gohain <nityanandagohain@gmail.com >
Co-authored-by: Vikrant Gupta <vikrant@signoz.io >
2025-09-17 14:11:18 +05:30
Srikanth Chekuri
1c257f3e14
chore: populate default zero queries for metrics ( #9103 )
2025-09-17 07:05:38 +00:00
Srikanth Chekuri
cc77b829af
chore: recognize dashboard view page for log_comment ( #9084 )
2025-09-16 19:43:54 +00:00
Nityananda Gohain
49306cbe3d
fix: add trace perf improvement only when there is any filter ( #9099 )
2025-09-16 17:08:58 +00:00
Srikanth Chekuri
233a8e4cc3
chore: use wss usage for workloads listing ( #9104 )
2025-09-16 16:42:15 +00:00
Srikanth Chekuri
629378bbec
chore: do not fail on non-existent signoz_ dbs ( #9092 )
2025-09-16 16:15:11 +00:00
Niladri Adhikary
c5051128fa
feat: warn when LIKE/ILIKE is used without any %/_ ( #9098 )
...
* feat: warn when LIKE/ILIKE is used without any %/_
Signed-off-by: “niladrix719” <niladrix719@gmail.com >
2025-09-16 06:23:26 +00:00
aniketio-ctrl
ac81eab7bb
chore: added cumulative window support ( #8828 )
...
* feat(multi-threshold): added multi threshold
* Update pkg/types/ruletypes/api_params.go
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* feat(multiple-threshold): added multiple thresholds
* Update pkg/types/ruletypes/alerting.go
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* feat(multiple-threshold): added multiple thresholds
* feat(cumulative-window): added cumulative window
* feat(multi-threshold): added recovery min points
* Update pkg/query-service/rules/threshold_rule.go
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* feat(multi-threshold): fixed log lines
* feat(multi-threshold): added severity as threshold name
* feat(cumulative-window): added cumulative window for alerts v2
* feat(multi-threshold): removed break to send multi threshold alerts
* feat(multi-threshold): removed break to send multi threshold alerts
* feat(cumulative-window): segregated json marshalling with evaluation logic
* feat(multi-threshold): corrected the test cases
* feat(cumulative-window): segregated json marshalling and evaluation logic
* feat(cumulative-window): segregated json marshalling and evaluation logic
* feat(multi-threshold): added segregation on json marshalling and actual threhsold logic
* feat(multi-threshold): added segregation on json marshalling and actual threhsold logic
* feat(cumulative-window): segregated json marshalling and evaluation logic
* feat(multi-threshold): added segregation on json marshalling and actual threhsold logic
* feat(cumulative-window): segregated json marshalling and evaluation logic
* feat(multi-threhsold): added error wrapper
* feat(multi-threhsold): added error wrapper
* feat(cumulative-window): segregated json marshalling and evaluation logic
* feat(multi-threhsold): added error wrapper
* Update pkg/types/ruletypes/threshold.go
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* feat(cumulative-window): segregated json marshalling and evaluation logic
* feat(multi-threshold): added validation and error propagation
* feat(multi-notification): removed pre defined labels from links of log and traces
* feat(multi-notification): removed pre defined labels from links of log and traces
* feat(multi-threshold): added json parser for gettable rule
* feat(multi-threshold): added json parser for gettable rule
* feat(multi-threshold): added json parser for gettable rule
* feat(multi-threshold): added umnarshaller for postable rule
* feat(multi-threshold): added umnarshaller for postable rule
* feat(cumulative-window): added validation check
* Update pkg/types/ruletypes/evaluation.go
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* feat(multi-threhsold): removed yaml support for alerts
* Update pkg/types/ruletypes/evaluation.go
Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com >
* Update pkg/types/ruletypes/evaluation.go
Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com >
* chore(cumulative-window): renamed funcitons
* chore(cumulative-window): removed naked errors
* chore(cumulative-window): added reset boundary condition tests
* chore(cumulative-window): added reset boundary condition tests
* chore(cumulative-window): sorted imports
* chore(cumulative-window): sorted imports
* chore(cumulative-window): sorted imports
* chore(cumulative-window): removed error from next window for
* chore(cumulative-window): removed error from next window for
* chore(cumulative-window): added case for timezone
* chore(cumulative-window): added validation for eval window
* chore(cumulative-window): updated api structure for cumulative window
* chore(cumulative-window): updated schedule enum
---------
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com >
2025-09-15 15:00:12 +05:30
Srikanth Chekuri
c982b1e76d
chore: allow number segment, #, @, {} in key ( #9082 )
2025-09-14 22:14:42 +05:30
Srikanth Chekuri
252786deb6
chore: make qb v5 default ( #9085 )
2025-09-14 20:41:13 +05:30
Nityananda Gohain
38ca467d13
fix: trace perf - scan only required traces ( #9072 )
2025-09-14 13:12:48 +00:00
Nityananda Gohain
a686941880
fix: exception on resource filters with numeric values ( #9028 )
2025-09-14 13:00:16 +00:00
Nityananda Gohain
ae58915020
chore: support for json column in resources ( #8376 )
2025-09-14 18:18:39 +05:30
aniketio-ctrl
d801fcee76
chore: add multiple thresholds support ( #8816 )
2025-09-12 13:11:54 +05:30
Vibhu Pandey
61acd946cc
fix: enable dot metrics by default ( #9061 )
2025-09-11 17:59:55 +00:00
Vibhu Pandey
31e042adf7
feat(alertmanager): deprecate legacy alertmanager ( #9046 )
...
- Deprecate legacy alertmanager. Are the new alert improvements compatible with legacy? I don't think they are. More importantly, I don't think they should be. It will be a pain to manage it at both places.
- Improve msteamsv2 experience. I have taken alertmanager's upstream and merged it with our custom implementation. Note the use of `titleLink` field to propagate the url of the alert.
- Delete the private http server needed for alertmanager. It's cleanup as part of 1.
2025-09-10 08:28:13 +00:00
Tushar Vats
6c7275d355
Feat: API for exporting raw data ( #8936 )
...
This introduces a new Raw Data Export module to the codebase, enabling users to export raw log data via a dedicated API endpoint. The changes include the implementation of the module and handler, integration with existing infrastructure, configuration updates, and adjustments to tests and module wiring.
2025-09-09 17:04:40 +05:30