Pandey
8771919de6
feat(gen): add cobra command for generating openapi spec ( #9803 )
...
add cobra command for auto-generating openapi spec
2025-12-15 17:48:30 +05:30
Piyush Singariya
e66bfe5961
feat(JSON): JSON Body Metadata ( #9593 )
...
* feat: json Body Keys
* feat: telemetry types
* feat: change ExtractBodyPaths
* chore: minor comment change
* chore: func rename, file rename
* chore: change table names
* chore: reflect changes from the overhaul
* test: fixing test 1
* fix: test TestQueryToKeys
* fix: test TestPrepareLogsQuery
* chore: remove db
* chore: go mod
* chore: changes based on review
* chore: changes based on review
* fix: in LIKE operation
* chore: addressed few changes
* revert: test file
* fix: comparison fix
* test: add TestBuildListLogsJSONIndexesQuery
* fix: in test TestBuildListLogsJSONIndexesQuery
* fix: pull promoted paths in single db call
* fix: reducing db calls
* test: fix TestBuildListLogsJSONIndexesQuery
* fix: test TestConditionForJSONBodySearch
* fix: lint try 1
* chore: review changes based on cursor
* fix: use enums only
---------
Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com >
Co-authored-by: Nityananda Gohain <nityanandagohain@gmail.com >
2025-12-09 20:47:26 +07:00
Karan Balani
9c818955af
feat: ristretto based in-memory cache with metrics enabled ( #9632 )
...
* feat: move to ristretto based memory cache with metrics enabled
* chore: fix go-deps
* fix: metrics namesapces
* feat: telemetrystore instrumentation hook
* fix: try exporting metrics without units
* fix: exporting metrics without units to avoid ratio conversion
* feat: figure out operation name like bun spans
* chore: minor improvements
* feat: add totalCost metric for memorycache
* feat: new config for memorycache and fix tests
* chore: rename newTelemetry func to newMetrics
* chore: add memory.cloneable and memory.cost span attributes
* fix: add wait func call
---------
Co-authored-by: Pandey <vibhupandey28@gmail.com >
Co-authored-by: Nityananda Gohain <nityanandagohain@gmail.com >
Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com >
2025-11-25 15:05:05 +00:00
Abhishek Kumar Singh
09cbe4aa0d
chore: metric name and group by extractor with CH and PromQL support ( #9543 )
2025-11-20 17:28:16 +00:00
Karan Balani
54b67d9cfd
feat: add bounded cache for opaque tokenizer only for last observed at cache ( #9581 )
...
Move away from unbounded cache for `lastObservedAt` stat, which was powered by BigCache (unbounded), to Ristretto, a bounded in-memory cache (https://github.com/dgraph-io/ristretto ).
This PR is first step towards moving away from unbounded caches in the system, more PRs to follow.
2025-11-14 21:23:57 +05:30
Vikrant Gupta
d539ca9bab
feat(sql): swap mattn/sqlite with modernc.org/sqlite ( #9343 )
...
* 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
* feat(sql): enable WAL mode for sqlite
* feat(sql): some fixes
* feat(sql): some fixes
* feat(sql): fix yarn lock and config defaults
* feat(sql): update the defaults in example.conf
* feat(sql): remove wal mode from integration tests
2025-10-21 18:45:48 +05:30
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
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
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
Srikanth Chekuri
1b1aa4915b
chore: link to docs, QB flavour for expr and update options ( #9246 )
2025-10-03 21:50:56 +05:30
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
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
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
Nityananda Gohain
ae58915020
chore: support for json column in resources ( #8376 )
2025-09-14 18:18:39 +05:30
Vikrant Gupta
2dbe0777f4
feat(authz): add openfga authz middleware ( #8990 )
...
* feat(authz): add openfga authz middleware
* feat(authz): update the auth context
* feat(authz): update the auth context
* feat(authz): update check request
* feat(authz): update check request
* feat(authz): add lifecycle tests
* feat(authz): add lifecycle tests
* feat(authz): add start-stop tests
2025-09-04 08:37:11 +00:00
Nityananda Gohain
d0132f11ae
fix: update clickhouse-sql-parser ( #8970 )
2025-09-01 13:25:27 +00:00
Vikrant Gupta
f61e859901
feat(authz): embed openfga server ( #8966 )
...
* feat(access-control): embed openfga in signoz
* feat(authz): rename access control to authz
* feat(authz): fix codeowners and go mod tidy
* feat(authz): fix lint
* feat(authz): update go version and move convertor to instrumentation
* feat(authz): some more lint issues
* feat(authz): some more lint issues
* feat(authz): some more lint issues
* feat(authz): fix more lint issues
* feat(authz): make logger converter interface
2025-09-01 17:10:13 +05:30
Piyush Singariya
d6eed8e79d
feat: JSON Flattening in logs pipelines ( #8227 )
...
* feat: introducing JSON Flattening
* fix: removed bug and tested
* test: removed testing test
* feat: additional severity levels, and some clearing
* chore: minor changes
* test: added tests for processJSONParser
* test: added check for OnError
* fix: review from ellipsis
* fix: variablise max flattening depth
* Update pkg/query-service/app/logparsingpipeline/pipelineBuilder.go
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* Update pkg/errors/errors.go
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* fix: quoted JSON strings fix
* test: updating otel collector for testing
* test: update collector's reference
* chore: change with new error package
* chore: set flattening depth equal to 1
* fix: fallback for depth
* fix: change in errors package
* fix: tests
* fix: test
* chore: update collector version
* fix: go.sum
---------
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Co-authored-by: Nityananda Gohain <nityanandagohain@gmail.com >
2025-07-14 18:48:01 +05:30
dependabot[bot]
d4e373443b
chore(deps): bump github.com/go-viper/mapstructure/v2 ( #8379 )
...
Bumps [github.com/go-viper/mapstructure/v2](https://github.com/go-viper/mapstructure ) from 2.2.1 to 2.3.0.
- [Release notes](https://github.com/go-viper/mapstructure/releases )
- [Changelog](https://github.com/go-viper/mapstructure/blob/main/CHANGELOG.md )
- [Commits](https://github.com/go-viper/mapstructure/compare/v2.2.1...v2.3.0 )
---
updated-dependencies:
- dependency-name: github.com/go-viper/mapstructure/v2
dependency-version: 2.3.0
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com >
2025-07-04 02:40:14 +00:00
Srikanth Chekuri
6cb7f152e1
chore: bump opamp-go version ( #8310 )
2025-06-26 15:01:17 +05:30
Vibhu Pandey
fbcff29fae
chore(sqlstore): remove sqlx ( #8306 )
...
## 📄 Summary
remove sqlx
2025-06-20 00:34:54 +05:30
Piyush Singariya
01036a8a2f
fix: top level keys EXIST and NOTEXIST filter simulation ( #8255 )
...
* fix: top level keys EXIST and NOTEXIST filter simulation
* test: fix tests
* test: temporarily change collector version
* test: updating go.mod
* fix: tests
* chore: revert changes
* chore: update collector's reference to stable version
2025-06-17 11:28:40 +05:30
Vibhu Pandey
ba0ba4bbc9
build(go): upgrade purego to v0.8.4 ( #8159 )
2025-06-05 12:31:49 +00:00
Vikrant Gupta
3bb9e05681
chore(dashboard): make dashboard schema production ready ( #8092 )
...
* chore(dashboard): intial commit
* chore(dashboard): bring all the code in module
* chore(dashboard): remove lock unlock from ee codebase
* chore(dashboard): go deps
* chore(dashboard): fix lint
* chore(dashboard): implement the store
* chore(dashboard): add migration
* chore(dashboard): fix lint
* chore(dashboard): api and frontend changes
* chore(dashboard): frontend changes for new dashboards
* chore(dashboard): fix test cases
* chore(dashboard): add lock unlock APIs
* chore(dashboard): add lock unlock APIs
* chore(dashboard): move integrations controller out from module
* chore(dashboard): move integrations controller out from module
* chore(dashboard): move integrations controller out from module
* chore(dashboard): rename migration file
* chore(dashboard): surface errors for lock/unlock dashboard
* chore(dashboard): some testing cleanups
* chore(dashboard): fix postgres migrations
---------
Co-authored-by: Vibhu Pandey <vibhupandey28@gmail.com >
2025-06-02 22:41:38 +05:30
Vibhu Pandey
96cfb607d1
chore(go): add go-deps workflow ( #7936 )
...
* feat(go): add go-deps workflow
* chore(go): fix dependencies
2025-05-14 09:00:53 +00:00
Vibhu Pandey
02b605d109
feat(analytics): add analytics package ( #7808 )
...
- add analytics package
2025-05-12 14:32:13 +05:30
Vibhu Pandey
59af9d1c2f
chore(go): upgrade to 1.23 ( #7885 )
2025-05-11 14:09:24 +05:30
Srikanth Chekuri
a9c09f33cb
chore: always add reserved vars ( #7689 )
2025-04-23 09:14:10 +00:00
Piyush Singariya
a42eacec4b
chore: enhancing JSON Parser handling ( #7591 )
...
* feat: enhancing JSON Parser handling
* fix: updating collector version
* chore: updating go.mod reference for Collector
---------
Co-authored-by: Nityananda Gohain <nityanandagohain@gmail.com >
2025-04-16 11:24:59 +05:30
Srikanth Chekuri
8ff05b2e8f
chore: add field type definitions for qb v5 ( #7552 )
2025-04-08 22:34:58 +05:30
Srikanth Chekuri
c8c56c544e
chore: add generated parser files for go ( #7538 )
2025-04-08 13:52:40 +00:00
dependabot[bot]
2748b49a44
chore(deps): bump github.com/golang-jwt/jwt/v5 from 5.2.1 to 5.2.2 ( #7401 )
...
Bumps [github.com/golang-jwt/jwt/v5](https://github.com/golang-jwt/jwt ) from 5.2.1 to 5.2.2.
- [Release notes](https://github.com/golang-jwt/jwt/releases )
- [Changelog](https://github.com/golang-jwt/jwt/blob/main/VERSION_HISTORY.md )
- [Commits](https://github.com/golang-jwt/jwt/compare/v5.2.1...v5.2.2 )
---
updated-dependencies:
- dependency-name: github.com/golang-jwt/jwt/v5
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com >
2025-04-05 01:43:43 +00:00
Vibhu Pandey
68f874e433
chore(ff): remove unused SMART_TRACE_DETAIL feature flag ( #7527 )
2025-04-04 20:28:54 +05:30
dependabot[bot]
b43a198fd8
chore(deps): bump github.com/expr-lang/expr from 1.16.9 to 1.17.0 ( #7342 )
...
Bumps [github.com/expr-lang/expr](https://github.com/expr-lang/expr ) from 1.16.9 to 1.17.0.
- [Release notes](https://github.com/expr-lang/expr/releases )
- [Commits](https://github.com/expr-lang/expr/compare/v1.16.9...v1.17.0 )
---
updated-dependencies:
- dependency-name: github.com/expr-lang/expr
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com >
2025-04-03 08:17:40 +00:00
Vibhu Pandey
81c7f3221a
feat(prometheus): create a dedicated prometheus package ( #7397 )
2025-03-31 14:11:11 +00:00
Vibhu Pandey
027a1631ef
feat(httpclient): add an extensible http client ( #7446 )
2025-03-26 19:33:52 +00:00
Srikanth Chekuri
88be23c3e3
chore: pass through substitutions for CH query ( #7389 )
2025-03-26 12:58:55 +00:00
Vibhu Pandey
089f128020
chore: remove otlp zap encoder ( #7408 )
2025-03-23 11:49:37 +05:30
aniketio-ctrl
5b6b5bf359
feat(summary): added update metrics metadata api ( #7235 )
...
* feat(explorer): updated metadata metrics api| 7076
* feat(explorer): added inspect metrics with resource attribute| 7076
* fix(summary): fixed dashboard name in metric metadata api
* fix(summary): removed offset from second query
* fix(summary): removed offset from second query
* feat(summary): added update metrics metadata api
* feat(summary): resolved log messages
* feat(summary): added is_monotonic column and added temporality| 7077
* feat(summary): added histogram bucket and summary quantile check| 7077
* feat(summary): added temporality and is_monotonic in update queries| 7077
* feat(summary): resolved pr comments| 7077
* feat(inspect): normalized resource attributes
* feat(update-summary): merge conflicts resolve
* feat(update-summary): merge conflicts resolve
* feat(update-metrics): updated description check
* feat(update-metrics): added kv log comments
* fix: updated testcase with reader
* fix: updated testcase with reader
* fix: updated testcase with reader
* fix: updated normalized true in metrics explorer api
* fix: removed inner join from list metrics query
2025-03-18 10:39:34 +00:00
dependabot[bot]
42f7511e06
chore(deps): bump github.com/go-jose/go-jose/v4 from 4.0.2 to 4.0.5 ( #7180 )
...
Bumps [github.com/go-jose/go-jose/v4](https://github.com/go-jose/go-jose ) from 4.0.2 to 4.0.5.
- [Release notes](https://github.com/go-jose/go-jose/releases )
- [Changelog](https://github.com/go-jose/go-jose/blob/main/CHANGELOG.md )
- [Commits](https://github.com/go-jose/go-jose/compare/v4.0.2...v4.0.5 )
---
updated-dependencies:
- dependency-name: github.com/go-jose/go-jose/v4
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-07 03:12:55 +00:00
Vibhu Pandey
8a01312967
feat(alertmanager): simplify and test e2e alertmanager ( #7217 )
...
* refactor(alertmanager): complete e2e testing and simplify
* fix(alertmanager): fix typo
* fix(alertmanager): set to true for prometheus
2025-03-05 10:01:02 +05:30
Srikanth Chekuri
a26cdf1089
chore: bump github.com/SigNoz/prometheus ( #7182 )
2025-03-03 08:34:16 +00:00
Nityananda Gohain
c3951afdfd
fix: refactor auth package ( #7110 )
...
* fix: refactor auth package
* fix: minor changes
* fix: refactor jwt
* fix: add tests and address comments
* fix: address comments
* fix: add uncomitted file
* fix: address comments
* fix: update tests
2025-02-17 18:16:41 +05:30
Vibhu Pandey
bcf7bf38fc
feat(alertmanager): add alertmanagertypes ( #7101 )
...
add alertmanagertypes
2025-02-12 17:23:18 +00:00
Nityananda Gohain
7a03a09ac1
fix: add migration and postgres provider ( #7089 )
...
* fix: move migrations to bun
* fix: use anonymous structs and move modes to types package
* fix: minor changes after tests
* fix: remove bun relations and add foreign keys
* fix: minor changes
* Update pkg/types/agent.go
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* fix: add migration and postgres provider
* fix: address minor comments
* fix: use bun create index
* fix: add migration
* fix: support for postgres in migrations
* Update pkg/sqlstore/pgstore/provider.go
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* Update pkg/sqlmigration/001_add_organization.go
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* fix: address comments
* fix: move max connection to base config
* fix: update scope
---------
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-02-12 13:23:40 +00:00
Vibhu Pandey
dc15ee8176
feat(sqlmigration): consolidate all sqlmigrations into one package ( #7018 )
...
* feat(sqlmigration): add sqlmigrations
* feat(sqlmigration): test sqlmigrations
* feat(sqlmigration): add remaining factories
* feat(sqlmigration): consolidate into single package
* fix(telemetrystore): remove existing env variables
* fix(telemetrystore): fix DSN
2025-02-04 09:23:36 +00:00
Vibhu Pandey
001122db2c
feat(instrumentation): adopt slog ( #6907 )
...
### Summary
feat(instrumentation): adopt slog
2025-01-24 09:23:02 +00:00
Vibhu Pandey
c574adc634
feat(sqlstore): add sqlstore package ( #6835 )
...
### Summary
Add `sqlstore` package
2025-01-17 15:54:48 +05:30
dependabot[bot]
dbe78e55a9
chore(deps): bump golang.org/x/net from 0.29.0 to 0.33.0 ( #6820 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-14 15:06:51 +00:00