* fix: improve user telemetry
- move GetEmailFromJwt to common function
- update AttachJwtToContext() to use standard way of attaching value to context
- update userEmail in every possible sendEvent call
- send groupId in sendEvent call for SaaS operator analytics
* chore: added DEFAULT_CLOUD_EMAIL const
* chore: add AttachJwtToContext to analytics middleware
* test: added AttachJwtToContext to logs pipelines
Switched all file operations from ioutil package to io and os packages due to the deprecation of ioutil in Go 1.16. This change contributes to the maintainability of the codebase, ensuring it's up-to-date with the current standard library. Additionally, implemented usage of filepath.Join for platform-independent file paths.
* chore: rename model.GetLogsResponse -> model.SignozLog for use in both requests and responses
* feat: add test for simulating log pipelines processing
* feat: get pipeline preview tests passing
* chore: cleanup
* feat: get and update log fields updated to support new materialized columns and index
* feat: get attribute keys logic updated
* feat: logs qb changes to support new materialized columns
* feat: don't allow updating static top level fields
* feat: old logs parser updated
* feat: upgrade clickhouse
* fix: columnname format updated for materialized columns
* feat: get fields updated
* feat: minor changes
* fix: default values for distributed columns
* feat: common function for for clickhouse formatted column name
* chore: remove interesting selected fields
* fix: update clickhouse version in other place
---------
Co-authored-by: Prashant Shahi <prashant@signoz.io>
* feat: api machinery to support enterprise plan channels
* feat: backend for handling ms teams
* feat: frontend for ms teams
* fix: fixed some minor issues wiht ms teams
* fix: resolved issue with feature gate
* chore: add missing span metrics
* chore: some minor changes are updated
* feat: added the oss flag is updated
---------
Co-authored-by: Vishal Sharma <makeavish786@gmail.com>
Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
Co-authored-by: Palash Gupta <palashgdev@gmail.com>
* feat: live tail API with query range support
* fix: minor fixes
* feat: minor fixes
* feat: send error event back to client
---------
Co-authored-by: Palash Gupta <palashgdev@gmail.com>
* Revert "upgraded some deprecated packages (#2423)"
This reverts commit c4b052c51ec3a22e25923aa92fb66665e6ca589b.
* chore: delta working with QB
* chore: use enum
* Revert "Revert "upgraded some deprecated packages (#2423)""
This reverts commit d88f3594a62582a16fa04528a56ff075f628bf4e.
* chore: add test
* chore: add delta for query range v3
* chore: explicit check for temporality
* chore: fix tests
* chore: conditionally fetch temporality when --prefer-delta is set
* feat: checkpoint
* feat: add select columns support to list view
* chore: add more error handling
* feat: always return timestamp, spanID, traceID
Always return timestamp, spanID, traceID in list view
* test: update and add new tests
* chore: remove deprecated const
* chore: addressed review comments
* fix: add support for timestamp ordering and fix logic related to timestamp orderBy
* chore: remove unused variable
* fix: edge case and more tests
* 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>
* 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>
* 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>