282 Commits

Author SHA1 Message Date
Nityananda Gohain
b9c87c1395
feat: support for top level keys in attributes in query parser logs v3 (#2753)
Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
2023-05-25 09:58:32 +05:30
Vishal Sharma
357e422eca
fix: add support for bool values in time series result (#2713)
* fix: add support for bool values in time series result

* chore: reserved target column can never be bool so removed obsolete code

---------

Co-authored-by: Ankit Nayan <ankit@signoz.io>
Co-authored-by: Palash Gupta <palashgdev@gmail.com>
2023-05-18 14:08:32 +05:30
Vishal Sharma
33ac5b79be
feat: add errorCount in top_operations API (#2636) 2023-04-26 18:23:54 +05:30
Vishal Sharma
bd248c46b2
feat: traces QB (#2571) 2023-04-25 21:53:46 +05:30
Nityananda Gohain
9557cb2f70
feat: handle static fields correcty in aggreagte attribute keys (#2598) 2023-04-20 13:09:32 +05:30
Vishal Sharma
60b78e94d8
fix: add support for count aggregate attribute (#2584) 2023-04-18 16:38:52 +05:30
Vishal Sharma
2c206e8bf4
Add Span attributes APIs (#2414) 2023-04-13 15:33:08 +05:30
Nityananda Gohain
0c2574cef8
(logs): Query range v3 (#2518) 2023-04-10 19:36:13 +05:30
Srikanth Chekuri
4db109cbad
fix: minor issues found in development and enhancements (#2542)
* temp commit

* chore: add setpInterval

* chore: update prepare func type
2023-04-07 09:46:21 +05:30
Nityananda Gohain
d09290528f
feat(logs): add tag attribute autocomplete for logs (#2404)
* chore: add payload types for autocomplete requests

* chore: update the query params file location and payload

* chore: add query range v3 API request/response payload types

* feat: metric attribute autocomplete for the aggregation type

* feat: add attrs filters autocomplete endpoints

* feat(logs): add tag attribute autocomplete for logs

* chore: added support for multiple datatype in value suggestion api for attributes

* feat: int64/float64 added for AttributeKeyDataType along with validation

* feat: filterAttributeValueResponse type updated

* fix: number type updated and query updated

* feat: remove tagType in keys autocomplete

* feat: return isColumn value correctly for attibute keys

* Update pkg/query-service/app/clickhouseReader/reader.go

Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>

* fix: don't skip empty strings in value autocomplete

* fix: allow empty string search

* feat: add top level column names of logs in key sugestion

* fix: tagType column removed

* feat: get attribute values from logs table for top level fields

* feat: don't throw error if dataType and tagType is not present

* feat: timerange select corrected

* feat: autocomplete for int/float added

* fix: reverted attributeValueResponse change

* fix: null values handled for int and float

* feat: add support for get log aggreagte attributes

* feat: aggreate attribute logic updated and body added in keys autocomplete

* fix: constants updaetd

* fix: body type updated and empty response for noop and count

* fix: isColumn logic updated

---------

Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
Co-authored-by: Vishal Sharma <makeavish786@gmail.com>
Co-authored-by: palashgdev <palashgdev@gmail.com>
2023-04-06 13:32:24 +05:30
Vishal Sharma
12e56932ee
fix: exception detail broken APIs due to resourceTagsMap (#2514) 2023-03-29 07:32:47 +05:30
Srikanth Chekuri
c4944370ce
feat: support environment filtering in service map (#2481) 2023-03-28 22:15:46 +05:30
Vishal Sharma
9d20c2f787
feat: add resource tags to ListErrors API (#2487) 2023-03-28 00:15:15 +05:30
Srikanth Chekuri
17a5bc8cc3
feat: metrics query range v3 (#2265) 2023-03-23 19:45:15 +05:30
Srikanth Chekuri
9af991e424
feat: add attrs filters autocomplete endpoints (#2264) 2023-03-10 11:22:34 +05:30
Srikanth Chekuri
3f5171dc69
chore: bump SigNoz/prometheus (#2094) 2023-03-07 13:37:31 +05:30
Srikanth Chekuri
6defa0ac8b
feat: metric attribute autocomplete for the aggregation type (#2263) 2023-03-04 00:05:16 +05:30
Srikanth Chekuri
a3731e4c4e
fix: error rate as a percentage of range 0-100% (#2311) 2023-02-23 11:15:14 +05:30
palashgdev
2624ce4007
feat(FE): span Kind is added in the trace filter page (#2281) 2023-02-20 19:12:54 +05:30
Prashant Shahi
45cb1eb38f
feat: introduce health check endpoint (#2257)
* feat(query-service):  Add health check route and handler

* chore(install-script): 🔧 use health endpoint with instead of services list

---------

Signed-off-by: Prashant Shahi <prashant@signoz.io>
2023-02-15 00:37:57 +05:30
Vishal Sharma
db2bfbb887
fix: tag filter query builder (#2125) 2023-01-26 01:18:19 +05:30
Vishal Sharma
c46bef321c
feat: tag filter backend changes (#2115) 2023-01-25 12:35:44 +05:30
Vishal Sharma
835251b342
fix: use rpc method and responseStatusCode (#1971)
Co-authored-by: Palash Gupta <palashgdev@gmail.com>
Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
2023-01-04 16:15:08 +05:30
Vishal Sharma
6ba5c0ecad
fix: apply filters on count of exceptions (#1945) 2022-12-30 16:46:13 +05:30
Ankit Nayan
e03b0aa45f
chore/analytics (#1939)
* fix: not capturing empty filters

* feat: removing signoz_ metrics using grep

* fix: initialise companyDomain

* feat: added ttl status
2022-12-29 01:14:57 +05:30
Vishal Sharma
88a97fc4b8
add exception page filters support (#1919)
* feat: backend changes for supporting exception filters

* feat: frontend changes for exception page filter support

* chore: extractSingleFilterValue is updated

* fix: handle frontend edge case

Co-authored-by: Ankit Nayan <ankit@signoz.io>
Co-authored-by: Palash Gupta <palashgdev@gmail.com>
2022-12-28 14:54:15 +05:30
Nityananda Gohain
2e58f6db7a
fix: error handling for index removal from selected field (#1935)
Co-authored-by: Ankit Nayan <ankit@signoz.io>
2022-12-28 14:31:57 +05:30
Ankit Nayan
b11f79b4c7
Chore/analytics (#1922)
* fix: reduced rate limit to 2 of each events in 1 min

* feat: added new event for length of filters in logs search page

* feat: added distributed cluster info

* fix: length of filters in logs

* feat: dashboard metadata with no rateLimit

* feat: active user

Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
2022-12-28 02:16:46 +05:30
Vishal Sharma
35f5fb6957
fix: respect durationSort feature flag on getSpanFilters API (#1900)
* fix: respect durationSort feature flag on getSpanFilters API

* chore: update DB query
2022-12-27 21:09:36 +05:30
Nityananda Gohain
1b73649f8e
fix: add default value for materialized column in distributed logs table (#1835)
Co-authored-by: Vishal Sharma <makeavish786@gmail.com>
Co-authored-by: Ankit Nayan <ankit@signoz.io>
2022-12-09 20:18:58 +05:30
Vishal Sharma
6931b18382
fix: remove shared variable in TTL and async TTL queries (#1821)
* fix: remove shared variable in TTL

* fix: set distributed_ddl_task_timeout to 0 for async TTL

* chore: updated distributed_ddl_task_timeout to sync TTL queries
2022-12-07 18:23:01 +05:30
Ankit Nayan
7f77bcca2b
Feat/distributed ch (#1701)
* feat: support for distributed table

Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
2022-12-02 12:30:28 +05:30
Nityananda Gohain
67c0c9032f
fix: logs aggreagte endpoint updated to differentiate between params and query string (#1768) 2022-11-28 18:16:21 +05:30
Amol Umbark
2771d2e774
fix: [alerts] [ch-query] added aliases in metric query result (#1760)
* fix: [alerts] [ch-query] added aliases in metric query result

* fix: added more column type support for target in ch query

* fix: added error handling when data type is unexpected in metric result

Co-authored-by: Pranay Prateek <pranay@signoz.io>
2022-11-27 14:29:09 +05:30
Vishal Sharma
983ca1ec6a
feat: introduce getSubTreeSpans function in clickhouse query builder & introduce smart trace detail algorithm (#1648)
* perf: introduce smart trace detail algorithm
* fix: remove hardcoded levels and handle null levels
* feat: add support for broken trees
* feat: use spanLimit env variable
* fix: handle missing root span
* add root spanId and root name
* use permanent table
* add kind, events and tagmap support
* fix query formation
* increase context timeout to 600s
* perf improvement
* handle error
* return tableName as response to query
* support multiple queries tableName
* perf: improve memory and latency
* feat: add getSubTree custom func and smart trace detail algo to ee
* fix: create new functions for ee
* chore: refactor codebase
* chore: refactor frontend code


Co-authored-by: Ankit Nayan <ankit@signoz.io>
Co-authored-by: Palash Gupta <palashgdev@gmail.com>
2022-11-24 18:18:19 +05:30
Srikanth Chekuri
4cf3dc2ec3
fix: remove usage of labels object (#1710)
Co-authored-by: Ankit Nayan <ankit@signoz.io>
2022-11-14 22:51:23 +05:30
Ankit Nayan
1374444f36 chore: analytics 2022-10-11 00:43:54 +05:30
Amol Umbark
9c4521b34a
feat: enterprise edition (#1575)
* feat: added license manager and feature flags
* feat: completed org domain api
* chore: checking in saml auth handler code
* feat: added signup with sso
* feat: added login support for admins
* feat: added pem support for certificate
* ci(build-workflow): 👷 include EE query-service
* fix: 🐛 update package name
* chore(ee): 🔧 LD_FLAGS related changes

Signed-off-by: Prashant Shahi <prashant@signoz.io>
Co-authored-by: Prashant Shahi <prashant@signoz.io>
Co-authored-by: nityanandagohain <nityanandagohain@gmail.com>
2022-10-06 20:13:30 +05:30
Nityananda Gohain
dcf2ac15b0
feat: add compression for materialized columns (#1585) 2022-10-03 05:45:59 +05:30
Vishal Sharma
eaadc3bb95
feat: introduce search trace ID component (#1551)
* feat: searchTraceID checkpoint
* feat: filter spans using TraceID from trace filter page

Co-authored-by: palashgdev <palashgdev@gmail.com>
Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
2022-09-12 19:35:31 +05:30
Srikanth Chekuri
ac86d840f9
fix: reuse the query engine and storage for alerts pqlEngine (#1558) 2022-09-12 12:30:36 +05:30
Srikanth Chekuri
8556c87d46
feat: add support for dashboard variables (#1557) 2022-09-11 03:34:02 +05:30
Srikanth Chekuri
32fba00aa8
fix: do not show services without any data for select interval (#1521) 2022-08-17 15:11:08 +05:30
Ankit Nayan
07d013a716 chore: added analytics for logs 2022-08-11 14:27:19 +05:30
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