288 Commits

Author SHA1 Message Date
Nityananda Gohain
66b67a08a0
alias for timstamp interval changed in sql query (#1509) 2022-08-11 13:53:33 +05:30
nityanandagohain
eb28ece680 parser updated for pagination 2022-08-10 14:27:46 +05:30
nityanandagohain
0807a0ae26 Merge remote-tracking branch 'upstream/develop' into feat/logs 2022-08-04 17:32:45 +05:30
nityanandagohain
61ebd3aded logs ttl support added in ttl api 2022-08-04 14:28:10 +05:30
Vishal Sharma
425b732370
fix: add defaultDependencyGraphTable to getTTL status check (#1474) 2022-08-04 13:41:25 +05:30
Vishal Sharma
a742c9aee1
feat: use materialized view for usage explorer API (#1466)
* feat: use materialized view for usage explorer API

Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
2022-08-04 12:55:21 +05:30
Srikanth Chekuri
3968f11b3d
feat: improve service map (#1467)
* feat: improve service map
2022-08-04 12:38:53 +05:30
Srikanth Chekuri
5bfc2af51b
feat: show messaging/cron/browser services in listing page (#1455)
* feat: show messaging/cron/browser services in listing page

* chore: issue maximum of ten queries to clickhouse

Co-authored-by: Palash Gupta <palashgdev@gmail.com>
2022-08-04 11:57:05 +05:30
jshiwam
e39d2f799d
Used Prepared Statements for GetChannel in clickhousereader (#1414)
* feat: used db.Preparex
2022-07-28 10:14:27 +05:30
nityanandagohain
047227ad18 use ticker for polling db in live tail. 2022-07-27 11:47:35 +05:30
nityanandagohain
7b6a086b37 consistant query formatting 2022-07-27 10:46:33 +05:30
Nityananda Gohain
baf72610d6
Update pkg/query-service/app/clickhouseReader/reader.go
Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
2022-07-27 10:39:08 +05:30
nityanandagohain
0fe4327877 live tail fetch only recent 100 logs every 10s 2022-07-25 14:42:58 +05:30
nityanandagohain
2f17898390 primitive type pointers removed 2022-07-22 16:49:40 +05:30
nityanandagohain
373cbbc375 logs select statement converted to a const 2022-07-22 16:07:19 +05:30
nityanandagohain
f8be4a6d5b livetail timestamp correction 2022-07-22 15:49:50 +05:30
nityanandagohain
420d46ab01 tail function updated to use values instead of pointers 2022-07-22 15:44:07 +05:30
nityanandagohain
bdb6901c74 generateSql returns value insted of pointer 2022-07-22 15:39:43 +05:30
nityanandagohain
94cde11164 consistant response value instead of pointer 2022-07-22 15:27:52 +05:30
nityanandagohain
5912d3a4a0 observed timestamp removed 2022-07-20 14:52:16 +05:30
nityanandagohain
a527c33c7d timestamp in ns from ms 2022-07-20 13:05:24 +05:30
nityanandagohain
c24bdfc8cf aggregate function added 2022-07-20 12:11:03 +05:30
nityanandagohain
b5c8764605 changes added for live tail api 2022-07-19 16:34:33 +05:30
nityanandagohain
2450fff34d live tail v1 2022-07-18 18:55:52 +05:30
nityanandagohain
df17d4ca54 Merge remote-tracking branch 'upstream/develop' into feat/logs 2022-07-18 16:49:04 +05:30
nityanandagohain
2e9affa80c Filtering logic updated 2022-07-18 16:37:46 +05:30
Srikanth Chekuri
c5c7fb238f
fix: update the error rate percentage text and scale (#1399) 2022-07-15 09:55:43 +05:30
Amol Umbark
3a287b2b16
Alerts backend with metrics (#1346)
Alerts backend with metrics
2022-07-14 11:59:06 +05:30
Srikanth Chekuri
c3d665e119
feat: make SigNoz rpc aware (#1366)
* feat: make SigNoz rpc aware
* chore: update the code/method logic
2022-07-14 10:24:03 +05:30
Srikanth Chekuri
8d03569a0a
fix: error rate as a percentage of total requests (#1391) 2022-07-14 10:00:24 +05:30
Srikanth Chekuri
0620cacb0b
Revert "ci: add golangci to workflow (#1369)" (#1390)
This reverts commit 7aeaecaf1f2e60a12e111d45bf246e4b35b64fd5.
2022-07-14 09:55:01 +05:30
Srikanth Chekuri
7aeaecaf1f
ci: add golangci to workflow (#1369)
* style: reformat the code to follow go guidelines
* chore: add golangci lint
* chore: remove context check
* chore: go fmt
2022-07-13 23:44:42 +05:30
Vishal Sharma
a84754e8a8
perf: exception page optimization (#1287)
* feat: update ListErrors API

* feat: update error detail APIs and add a new API for fetching next prev error IDs

* feat: update GetNextPrevErrorIDs API to handle an edge case

* perf: use timestamp for fetching individual column

* feat: add countErrors API
2022-07-13 15:55:43 +05:30
nityanandagohain
ed5d217c76 API for filtering and paginating logs added 2022-07-13 15:42:13 +05:30
nityanandagohain
ef141d2cee API for fields added 2022-07-12 16:38:26 +05:30
Srikanth Chekuri
da368ab5e8
feat: add support for not regex (#1328)
* feat: add support for not regex

Co-authored-by: Vishal Sharma <makeavish786@gmail.com>
2022-07-06 15:49:27 +05:30
Ankit Nayan
cbdeb5ad03
chore: added metrics for analytics (#1356) 2022-07-04 17:13:36 +05:30
Srikanth Chekuri
a733adad2c
Add v2 query range metrics API (#1020)
* Queryrange params tests

* review suggestions, quantile, simple metric filter and some refactoring

* Add value type support

* Add supprot for re2 regex, refactor, update tests and other changes

* chore: update govaluate dep to signoz/govaluate

* chore: add name to grouping

* chore: add support for NOOP

* fix: make result format compatible with prom HTTP API

* chore: update clickhouse server and update query builder to use new schema

* chore: use metric_name in auto suggest APIs

* chore: add reduce operator and new aggregate functions

* chore: add support for not like op

* chore: fix the dip at the end for incomplete time range

* chore: rounddown the end to exclude the incomplete collection
2022-06-24 14:52:11 +05:30
Ankit Nayan
afbcde5edc
fix: added 404 for error in getRule api (#1309)
* fix: added multiple error checks in getRule api
2022-06-23 15:29:15 +05:30
Srikanth Chekuri
4f12f8c85c
fix: incorrect 5xx rate calculation (#1229) 2022-06-14 01:09:44 +05:30
Vishal Sharma
5d080f5564
fix: 🐛 convert TTL APIs to async #902 (#1173)
* fix: 🐛 convert TTL APIs to async

* chore: add archive support

* chore: update TTL async APIs according to new design

* chore: 🔥 clean removeTTL API

* fix: metrics s3 config

* test:  update tests for async TTL api

* chore: refractoring

Co-authored-by: Pranay Prateek <pranay@signoz.io>
2022-05-25 16:55:30 +05:30
Srikanth Chekuri
d0b21fce01 update exec to clickhouse v2 api; update the queries 2022-05-12 16:22:59 +05:30
Srikanth Chekuri
eb397babcd resolve merge conflicts 2022-05-12 11:13:44 +05:30
Vishal Sharma
b9f3663b6c
fix: exceptionStacktrace typo (#1098) 2022-05-05 20:04:59 +05:30
Vishal Sharma
374a2415d9
fix: fix typo and return empty struct instead of null (#1092) 2022-05-05 13:58:39 +05:30
Vishal Sharma
6fb6a576aa
fix: lagInFrame and leadInFrame nullable (#1089)
https://github.com/ClickHouse/ClickHouse/pull/26521
2022-05-05 12:22:19 +05:30
Vishal Sharma
fe18e85e36
fix: error and exception type error (#1086) 2022-05-05 11:11:35 +05:30
Vishal Sharma
c74d87a21a
fix: handle empty data scenarios (#1062) 2022-05-04 15:03:48 +05:30
Vishal Sharma
81cc120539
fix: aggregate of avg and percentile (#1045) 2022-05-03 23:02:49 +05:30
Vishal Sharma
642ece288e
perf: Query-service Performance Improvements (traces) (#838)
*feat: Update query-service Go version to 1.17 #911
*chore: Upgrade to clickhouse versions v2 #751
*feat: Duration sorting in events table of Trace-filter page #826
*feat: Add grpc status code to traces view #975
*feat: added filtering by resource attributes #881
2022-05-03 11:20:57 +05:30