* refactor: generic querybuilderWithFormula
* refactor: added generic datasource
* refactor: dynamic disabled in getQueryBuilderQueriesWithFormula
* refactor: generic legend for building query with formulas
* feat: added new TopOperationMetrics component for key operation
* refactor: added feature flag for key operation
* refactor: shifted types and fixed typos
* refactor: separated types and renamed file
* refactor: one on one mapping
* refactor: added clickable link for navigating to traces
* chore: separated types
* chore: removed unnecessary comments
* refactor: one on one mapping for DBCallQueries
* refactor: seperated types and one on one mapping for externalQueries
* refactor: separate type from metricsPagesQueriesFactory
* refactor: separated types and one on one mapping for overviewQueries
* refactor: remove the type inforcement from TopOperationQueries.ts
* refactor: one on one mapping in TopOperationQueries.ts
* refactor: one on one mapping and remove the unwanted code
* refactor: shifted logic of navigating to traces to utils
* refactor: separated renderColumnCell from the TopOperationMetric component
* refactor: generic tableRenderer
* refactor: made getTableColumnRenderer more generic
* chore: title is updated
---------
Co-authored-by: Palash Gupta <palashgdev@gmail.com>
* refactor: remove the dependency of services using redux
* refactor: seperated columns and unit test case
* refactor: move the constant to other file
* refactor: updated test case
* refactor: removed the duplicate enum
* fix: removed the inline function
* fix: removed the inline function
* refactor: removed the magic string
* fix: change the name from matrics to metrics
* fix: one on one mapping of props
* refactor: created a hook to getting services through api call
* fix: linter error
* refactor: renamed the file according to functionality
* refactor: renamed more file according to functionality
* refactor: removed unwanted interfaces and renamed files
* refactor: separated types
* refactor: shifted mock data and completed review changes
* chore: updated test cases
* refactor: added useEffect in errornotification
* chore: updated service test
* chore: shifted loading to table level
* chore: updated test cases
---------
Co-authored-by: Vishal Sharma <makeavish786@gmail.com>
* fix: dependency check for top level operation
* refactor: one on one mapping
* fix: removed the unwanted if checks
---------
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>
* feat: add suggestion to order by filter
* fix: column name for order by
* fix: mapper for order by
* fix: render order by for different panels
* fix: order by timestamp and aggrigate value
---------
Co-authored-by: Palash Gupta <palashgdev@gmail.com>
Co-authored-by: Vishal Sharma <makeavish786@gmail.com>
* feat: add dynamic table based on query
* feat: add the list view for the traces explorer
* feat: add the list view for the traces explorer
* feat: add the list view for the traces explorer
* feat: add the table view for the traces explorer
* feat: remove unnecessary part of code for the table view in the traces explorer
* fix: resolve comments
---------
Co-authored-by: Yevhen Shevchenko <y.shevchenko@seedium.io>
Co-authored-by: Nazarenko19 <danil.nazarenko2000@gmail.com>
Co-authored-by: Vishal Sharma <makeavish786@gmail.com>
Co-authored-by: Palash Gupta <palashgdev@gmail.com>
* refactor: initial setup for full view done
* feat: done with shifting of chart to services
* refactor: removed the dependency dashboard action
* refactor: make ondelete and onclone optional in widgetheader
* refactor: optimised the allowdelete, allowclone and allowEdit
* fix: build pipline error
* refactor: moved contant to contant.js
* refactor: create a utils and types and seperated it from component
* refactor: merge the latest overview from develop
* refactor: review comments changes
* refactor: magic string to constants
* refactor: handle the isloading for topLevelOperations
* refactor: apply loading check for other api's
* refactor: seperated the component
* refactor: removed the graphwithoutdashboard component
* fix: the type of variable from dashboard
* refactor: created utils and updated types
* refactor: changed the name of variable and fixed typos
* fix: the menu option dropdown for services widget header
* chore: ts config is updated for the isTwidgetoptions
* chore: removed the unwanted file
* fix: css on hover of widget header and default value
* refactor: renamed the file to index in fullView
* refactor: disable the edit delete clone option
* fix: typos
* chore: types are updated in metrics application
* chore: type is updated
* fix: build is fixed
* refactor: changes the yaxisunit to ns of serviceoverview
---------
Co-authored-by: Palash Gupta <palashgdev@gmail.com>
Co-authored-by: Vishal Sharma <makeavish786@gmail.com>
* feat: add support for multiquery in ts with limit
* feat: multiple groupby support
* feat: variables renamed
* feat: cleanup
* feat: clickhouse formatted value updated to support pointers
* fix: filter creation logic updated
* fix: minor fixes and tests
* fix: autcomplete top level keys
* Revert "fix: autcomplete top level keys"
This reverts commit 8d5e1e480f.
* fix: minor fixes
* feat: formula support for timeseries query with limit
* feat: implementation updated for limit queries
* feat: cleanup
* feat: order by logic updated
* feat: order by logic updated for both ts and table view
---------
Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
Co-authored-by: Vishal Sharma <makeavish786@gmail.com>
* Revert "upgraded some deprecated packages (#2423)"
This reverts commit c4b052c51e.
* chore: delta working with QB
* chore: use enum
* Revert "Revert "upgraded some deprecated packages (#2423)""
This reverts commit d88f3594a6.
* 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
* refactor: seperate the dependency of top overview query
* refactor: added error handle for api call using usequery
* refactor: update api layar and condition in component
* fix: onDragSelect re-render all graph data
* refactor: removed console
* refactor: corrected names and updated implemented required condition
* fix: the api call issue
* refactor: removed useeffect
* refactor: reverted the unnecessary changes
* refactor: removed the login from service level
* refactor: removed the unwanted code
* refactor: reverted the unwanted changes in getDashboardVariable
* refactor: instead of useQuery used useQueries
* refactor: changed the dependencies of useQuery key
* refactor: linter fixes
* refactor: delete the unrequired files
* fix: generecity of the type
* fix: moved the type to component
* fix: move the logic from container layer to pages layer
* refactor: optimised some part of the code
* refactor: review changes
* refactor: optimised the checks
* refactor: checking if the dependency data loaded in full view
* refactor: resolve the error of props in overview.ts
* refactor: small changes
* refactor: enforced the typecasting of constant variable
* refactor: refactoring in some of the changes are updated
* refactor: refactoring in some of the changes are updated
* refactor: removed the extra parameter from useGetQueryRange
* refactor: revert the changes back for tab
* refactor: metrics application is updated
* chore: loading condition is updated for full view component
* chore: moved the serviceDataProps type to api layer
* chore: message name is updated
---------
Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
Co-authored-by: Palash Gupta <palashgdev@gmail.com>
* fix: filter change value
Fix for getting value from current autocomplete response instead of all options.
* fix: change group by with correct values
---------
Co-authored-by: Vishal Sharma <makeavish786@gmail.com>
Co-authored-by: Palash Gupta <palashgdev@gmail.com>
* feat: add support for table view in traces
* fix: alignment issue
* feat: handle table view in traces
* fix: value type panel
* fix: order by in table view
* chore: remove obsolete code
* fix: use now() as ts in query to support formula
* test: update tests
* feat: search capablity is added on export panel
* chore: instance is destroyed on close
---------
Co-authored-by: Vishal Sharma <makeavish786@gmail.com>
* fix: add converting to ms for the durationNano attrbute
* fix: add ms title to the graph
---------
Co-authored-by: Vishal Sharma <makeavish786@gmail.com>
* feat: export panel in logs explorer is added
* chore: notification is updated when dashboard id is not found while updating
* fix: error handling for export panel
* fix: layout gap
* refactor: remove log
* fix: updating log page from update button
* fix: redirect with correct operator
* fix: redirect wioth query data
* fix: refetch list
---------
Co-authored-by: Yevhen Shevchenko <y.shevchenko@seedium.io>
* fix: fix initial columns for the list view
* fix: replace columns
* fix: update attribute api call for the options menu
* fix: update call attributes API call
* fix: add error msg for the options list
* feat: save list options to local storage
* fix: removing of the columns field
* fix: filter body column from columns
* fix: typo for raw
---------
Co-authored-by: Vishal Sharma <makeavish786@gmail.com>
* feat: add dynamic table based on query
* feat: add the list view for the traces explorer
* fix: fix the options menu
* feat: update the list view columns config for the traces explorer
* feat: fix columns for the list view for the traces explorer page
* feat: update customization columns for the list view from the traces explorer
* feat: add error msg for the list view, fix creating data for the table
* fix: resolve the list view issues
* fix: update the date column for the list view
* fix: remove additional filter title for the list view
* fix: add initial orderBy filter for the list view
---------
Co-authored-by: Yevhen Shevchenko <y.shevchenko@seedium.io>
Co-authored-by: Nazarenko19 <danil.nazarenko2000@gmail.com>
Co-authored-by: Vishal Sharma <makeavish786@gmail.com>
* feat: add dynamic table based on query
* feat: add the list view for the traces explorer
* fix: fix the options menu
* feat: update the list view columns config for the traces explorer
* feat: fix columns for the list view for the traces explorer page
* feat: update customization columns for the list view from the traces explorer
* feat: add error msg for the list view, fix creating data for the table
---------
Co-authored-by: Yevhen Shevchenko <y.shevchenko@seedium.io>
Co-authored-by: Nazarenko19 <danil.nazarenko2000@gmail.com>
Co-authored-by: Vishal Sharma <makeavish786@gmail.com>
* fix: alert evaluation params and query
1. Update the rate query to not generate intermediary +inf value when the denominator is zero
2. Adjust the start and end time to incorporate data in movement
3. Round the start and end to minute
4. Add log to find the exact query that triggered alert for troubleshooting
;
* chore: fix query builder tests
* 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
* feat: add dynamic table based on query
* feat: add the list view for the traces explorer
* feat: add the list view for the traces explorer
* feat: add the list view for the traces explorer
* feat: add the table view for the traces explorer
* feat: add the table view for the traces explorer
* feat: add the trace view for the traces explorer
* feat: update the traces view tab for the traces explorer page
* feat: update the traces view
---------
Co-authored-by: Yevhen Shevchenko <y.shevchenko@seedium.io>
Co-authored-by: Nazarenko19 <danil.nazarenko2000@gmail.com>
Co-authored-by: Vishal Sharma <makeavish786@gmail.com>
* feat: add the export panel to the traces explorer
* feat: onExport dashboard widget is updated
* chore: made common hook useDashboard
---------
Co-authored-by: Palash Gupta <palashgdev@gmail.com>
* fix: step size is made dynamic
* test: get step test is added
* chore: alerts step is updated
* chore: query is updated
* chore: provider query is updated
* fix: user input is being take care of
* chore: query builder step interval is updated
* test: lib/getStep is updated
* test: test for getStep is updated
* fix: step interval is taken care when we change from top nav
* chore: while saving the dashboard query is updated
* chore: updated when selected widget is present
* chore: getStep is now multiple of 60 and test is updated accordingly
* chore: user input is overriden from global step
---------
Co-authored-by: Vishal Sharma <makeavish786@gmail.com>
* feat: add dynamic table based on query
* fix: group by repeating
* fix: change view when groupBy exist in the list
* fix: table scroll
* feat: add the pagination and update options menu
* feat: trace explorer is updated
---------
Co-authored-by: Yevhen Shevchenko <y.shevchenko@seedium.io>
Co-authored-by: Nazarenko19 <danil.nazarenko2000@gmail.com>
Co-authored-by: Palash Gupta <palashgdev@gmail.com>
* feat: add dynamic table based on query
* fix: group by repeating
* fix: change view when groupBy exist in the list
* feat: add list view for log explorer
* fix: query builder updating
* fix: table scroll
* fix: filters for explorer page (#2959)
---------
Co-authored-by: Prashant Shahi <prashant@signoz.io>
* feat: add dynamic table based on query
* fix: group by repeating
* fix: change view when groupBy exist in the list
* fix: table scroll
* fix: filters for explorer page (#2959)
---------
Co-authored-by: Palash Gupta <palashgdev@gmail.com>
* feat: sorting for tooltip in graph view
* Update index.tsx
* refactor: name of the variable in itemSort
---------
Co-authored-by: Palash Gupta <palashgdev@gmail.com>
* fix: save rules/dashboard is now enabled for metrics irrespective of feature flag disabled
* chore: check is updated for alerts
* chore: alert condition is updated
* chore: condition for alert is updated
* fix: edit condition is fixed
* fix: isTraceOrLogsQueryBuilder condition for editing a panel
* fix: error message is shown to the user
---------
Co-authored-by: makeavish <makeavish786@gmail.com>
* fix: save rules/dashboard is now enabled for metrics irrespective of feature flag disabled
* chore: check is updated for alerts
* chore: alert condition is updated
* chore: condition for alert is updated
* ci(gh-workflows): 👷 bump up versions and minor updates
* ci(gh-workflows): 👷 bump up versions of verify-linked-issue-action to v0.71
* ci(e2e-k3s): 👷 use ipconfig instead
* ci(remove-label): 👷 create separate step for remove label
---------
Signed-off-by: Prashant Shahi <prashant@signoz.io>
* feat: add query builder and graph
* feat: add graph
* fix: id in the another places
* fix: multiple queries for explorer logs
* chore: chunkName is updated
---------
Co-authored-by: Chintan Sudani <46838508+techchintan@users.noreply.github.com>
Co-authored-by: Palash Gupta <palashgdev@gmail.com>
* fix(docker-buildkit): 🐛 use progress plain
* chore(Makefile): add targets for clearing only clickhouse data
---------
Signed-off-by: Prashant Shahi <prashant@signoz.io>
* fix: create and store label when colon is pressed
* fix: use native JS replace
* chore: extra value variable is removed
---------
Co-authored-by: Palash Gupta <palashgdev@gmail.com>
* fix: where clause getting values
* fix: group by filter custom option
* fix: id for group by and aggregate filters
* fix: repeating values
* refactor: group by uniq items
* fix: removing source key
* fix: keep where clause filter on operator change
* chore: clean up for console log and additional variables
---------
Co-authored-by: Chintan Sudani <46838508+techchintan@users.noreply.github.com>
Co-authored-by: Vishal Sharma <makeavish786@gmail.com>
Co-authored-by: Palash Gupta <palashgdev@gmail.com>
* chore: form type and removed disabled
Signed-off-by: GermaVinsmoke <vaibhav1180@gmail.com>
* chore: added disabled to the button
Signed-off-by: GermaVinsmoke <vaibhav1180@gmail.com>
* chore: created error message fn for required rule
Signed-off-by: GermaVinsmoke <vaibhav1180@gmail.com>
* chore: disable condition is updated
* chore: isLoading is added in the disabled condition
---------
Signed-off-by: GermaVinsmoke <vaibhav1180@gmail.com>
Co-authored-by: Palash Gupta <palashgdev@gmail.com>
* test: added few test cases for Tooltip
* fix: some of the stale frontend package are removed
* chore: flat package is removed
---------
Co-authored-by: Sanjib <sanjib.sah@yahoo.com>
* feat: flag is updated
* feat: feature flag is updated
* feat: onrefetch is added on several actions on app
* chore: tab is updated
* chore: creating dashbaord error is handled
* fix: message is fixed
* chore: jest test is updated
* fix: disabled content being copied on keyDown action
* chore: tab index and role is updated
* fix: reverted lodash changes
---------
Co-authored-by: Palash Gupta <palashgdev@gmail.com>
* 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>
* fix: position of where caluse is changed for metrics
* fix: by default enabled for logs & traces
* fix: to many api call for key on search
* fix: make chip on enter for exists/nexists
* fix: flickering issue on selection of option
* fix: text change
* fix: orderby payload issue
* fix: removed replace logic
* fix: responsive qb & disabled issue
---------
Co-authored-by: Palash Gupta <palashgdev@gmail.com>
Co-authored-by: Ankit Nayan <ankit@signoz.io>
* feat: trace to logs and logs to trace is added
* chore: icons and spanId is updated
* chore: feedback changes are updated
---------
Co-authored-by: Ankit Nayan <ankit@signoz.io>
* fix: search filter validation on data source
* fix: value search not working for in/nin
* fix: unwanted key api while searching value & disabled tag
* fix: unnecessary , at end of in/nin value
* fix: added space after operator to get value
* fix: custom value not being selected
* fix: space after tag and value
* fix: api call debounce duration
* fix: suggested changes
* fix: updated query params
* fix: search filter data for logs and traces
* fix: search filter value data type issue
* fix: search filter value tag type
* fix: chip & iscolumn issue
* fix: null handled
* fix: label in list of search filter component
* fix: label in list of search filter component
* fix: code level changes
* fix: incorrect filter operators
* fix: key selection dancing
* fix: missing suggestion
* fix: keys are not getting updated
* fix: strange behaviour - removed duplicate options
* fix: driver id exclusion not working
* fix: loader when 0 options
* fix: exists/not-exists tag value issue
* fix: some weird behaviour about exists
* fix: added duplicate option remove logic at hook level
* fix: removed empty options from list
* fix: closable chip handler on edit
* fix: search filter validation on data source
* fix: value search not working for in/nin
* fix: unwanted key api while searching value & disabled tag
* fix: unnecessary , at end of in/nin value
* fix: added space after operator to get value
* fix: custom value not being selected
* fix: space after tag and value
* fix: api call debounce duration
* fix: suggested changes
* fix: updated query params
* fix: search filter data for logs and traces
* fix: search filter value data type issue
* fix: search filter value tag type
* fix: chip & iscolumn issue
* fix: null handled
* fix: label in list of search filter component
* fix: label in list of search filter component
* fix: code level changes
* fix: incorrect filter operators
* fix: key selection dancing
* fix: missing suggestion
* fix: keys are not getting updated
* fix: strange behaviour - removed duplicate options
* fix: driver id exclusion not working
* fix: loader when 0 options
* fix: exists/not-exists tag value issue
* fix: some weird behaviour about exists
* fix: added duplicate option remove logic at hook level
* fix: removed empty options from list
* fix: closable chip handler on edit
* fix: search filter validation on data source
* fix: lint issues is fixed
* fix: chip & iscolumn issue
* fix: lint changes are updated
* fix: undefined case handled
* fix: undefined case handled
* fix: removed settimeout
* fix: delete chip getting value undefined
* fix: payload correctness
* fix: incorrect value selection
* fix: key text typing doesn't change anything
* fix: search value issue
* fix: payload updated
* fix: auto populate value issue
* fix: payload updated & populate values
* fix: split value for in/nin
* fix: split value getting undefined
* fix: new version of search filter using papaparse library
* fix: removed unwanted space before operator
* fix: added exact find method & removed includes logic
* fix: issue when user create chip for exists not exists operator
* fix: white space logic removed
* fix: allow custom key in from list
* fix: issue when user create chip for exists not exists operator
* fix: removed unwanted includes
* fix: removed unwanted utils function
* fix: replaced join with papa unparse
* fix: removed get count of space utils
* fix: resolved build issue
* fix: code level fixes
* fix: space after key
* fix: quote a value if comma present
* fix: handle custom key object onchange
* chore: coverted into string
* Merge branch 'develop' into fix/issue-search-filter
* chore: eslint rule disabling is removed
* fix: serviceName contains sql
* chore: less restrictive expression
* fix: custom key selection issue
* chore: papa parse version is made exact
---------
Co-authored-by: Palash Gupta <palashgdev@gmail.com>
Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
* fix: having value data type
* feat: connect new builder to dashboard
* Fix/query builder filters (#2623)
* feat: rename query data type
* fix: remove reset of groupBy
* fix: filters search
* fix: calls autocomplete times
* fix: response mapper
* fix: removee unnecessary field
* fix: no check ts types for old query builder
* fix: disable check utils old builder
* feat: add query builder to the alerts
* fix: alert response integration with query builder
* fix: validation of query builder rules
* fix: rules query builder
* fix: filter value with similar keys
* fix: null values for options
* fix: query builder disabled when exist formula
* fix: removing filter key with underscore
* feat: add builder data to metric application (#2665)
* feat: add builder data to metric application
* fix: query types to single variant
* fix: formula legend formatting
* fix: argumant name
* fix: date for graph
---------
Co-authored-by: Palash Gupta <palashgdev@gmail.com>
* fix: pipeline
---------
Co-authored-by: Palash Gupta <palashgdev@gmail.com>
* fix: having value data type
* feat: connect new builder to dashboard
* Fix/query builder filters (#2623)
* feat: rename query data type
* fix: remove reset of groupBy
* fix: filters search
* fix: calls autocomplete times
* fix: response mapper
* fix: removee unnecessary field
* fix: no check ts types for old query builder
* fix: disable check utils old builder
* fix: removing key from groupby is not updating value of orderby
* fix: removing operator is not updating value of orderby
---------
Co-authored-by: Palash Gupta <palashgdev@gmail.com>
* fix: clear filter is fixed
* chore: action bar empty query condition is handled
* feat: local state is clear for filters
(cherry picked from commit 6c11c6d4da)
Signed-off-by: Prashant Shahi <prashant@signoz.io>
* 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: resource attribute is added in the exception
* fix: build is fixed
* chore: methods is updated to post
* fix: build is fixed
* fix: listErrors, countErrors API request body
* chore: type of the function is updated
* chore: convertRawQueriesToTraceSelectedTags is updated
* fix: resource attribute is updated
* chore: selected tags is updated
* feat: key is updated
---------
Co-authored-by: Vishal Sharma <makeavish786@gmail.com>
* feat: add span links support
* fix: handle an edge case
* chore: test is fixed
* chore: some of the refactoring is updated
---------
Co-authored-by: Palash Gupta <palashgdev@gmail.com>
* logs is updated
* fix: log live tail is updated
* fix: live tail is fixed
* chore: build is fixed
* chore: useEffect is removed
* chore: getLogsAggregate callback is added in the useEffect
* style: corrected the positioning of the charts tooltip
* style: stored value for pixel in variable
* chore: logic is shifted to plugin
---------
Co-authored-by: palashgdev <palashgdev@gmail.com>
* feat: multiple values can be selected
* chore: tag value is updated
* fix: handle few edge cases
---------
Co-authored-by: makeavish <makeavish786@gmail.com>
* feat: add list and table views for logs
* chore: some of the changes are updated
* chore: some of the refactoring is done
* chore: px to updated to rem
* chore: constant is moved to local storage
* refactor: some of the refactoring is updated
* chore: some of the changes are updated
* fix: resize log table issue
* chore: logs is updated
* chore: resize header is updated
* chore: font observer is added in package json and hook is added for same
* chore: no logs text is updated
* chore: no logs text is updated
* chore: updated some feedback in raw logs line
* chore: types is added
---------
Co-authored-by: Palash Gupta <palashgdev@gmail.com>
Co-authored-by: Pranay Prateek <pranay@signoz.io>
Co-authored-by: Vishal Sharma <makeavish786@gmail.com>
Co-authored-by: Chintan Sudani <csudani7@gmail.com>
* fix: it has been fixed of difficult to click on metrics graph points
* fix: resolve conflict
* fix: changed hover point & memoized the passed props
* fix: memo from develop
* fix: add condition for end and start stamps
* chore: type position is updated
---------
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>
* create a visual loading state with header
* updates loading with WidgetHeader component
* chore: onview and ondelete is updated
Co-authored-by: Palash Gupta <palashgdev@gmail.com>
* fix: query builder formula fails to eval
* fix: result label set without reference
* chore: update tests
Co-authored-by: Prashant Shahi <prashant@signoz.io>
* feat: v5 is in progress
* feat: antdv5 is updated
* fix: build is fixed
* fix: default config is over written by custom one
* chore: onchange handler is updated
* chore: overflow is hidden in the layout
* Update index.tsx
* fix: import is fixed
* chore: un used import is fixed
* fix: dark mode is updated in service map
* fix: config dropdown is updated
* fix: logs types is updated
* fix: copy clipboard notification is updated
* chore: layout changes are updated
* chore: colors is updated
* chore: action width is updated
Co-authored-by: Pranay Prateek <pranay@signoz.io>
Co-authored-by: Vishal Sharma <makeavish786@gmail.com>
@@ -85,9 +85,9 @@ Hier findest du die vollständige Liste von unterstützten Programmiersprachen -
### Bereitstellung mit Docker
Bitte folge den [hier](https://signoz.io/docs/deployment/docker/) aufgelisteten Schritten um deine Anwendung mit Docker bereitzustellen.
Bitte folge den [hier](https://signoz.io/docs/install/docker/) aufgelisteten Schritten um deine Anwendung mit Docker bereitzustellen.
Die [Anleitungen zur Fehlerbehebung](https://signoz.io/docs/deployment/troubleshooting) könnten hilfreich sein, falls du auf irgendwelche Schwierigkeiten stößt.
Die [Anleitungen zur Fehlerbehebung](https://signoz.io/docs/install/troubleshooting/) könnten hilfreich sein, falls du auf irgendwelche Schwierigkeiten stößt.
SigNoz helps developers monitor applications and troubleshoot problems in their deployed applications. SigNoz uses distributed tracing to gain visibility into your software stack.
SigNoz helps developers monitor applications and troubleshoot problems in their deployed applications. With SigNoz, you can:
👉 Visualise Metrics, Traces and Logs in a single pane of glass
@@ -35,19 +35,41 @@ SigNoz helps developers monitor applications and troubleshoot problems in their
👉 Filter and query logs, build dashboards and alerts based on attributes in logs
@@ -65,10 +86,13 @@ Come say Hi to us on [Slack](https://signoz.io/slack) 👋
- See exact request trace to figure out issues in downstream services, slow DB queries, call to 3rd party services like payment gateways, etc
- Filter traces by service name, operation, latency, error, tags/annotations.
- Run aggregates on trace data (events/spans) to get business relevant metrics. e.g. You can get error rate and 99th percentile latency of `customer_type: gold` or `deployment_version: v2` or `external_call: paypal`
- Native support for OpenTelemetry Logs, advanced log query builder, and automatic log collection from k8s cluster
@@ -144,6 +166,8 @@ Moreover, SigNoz has few more advanced features wrt Jaeger:
- SigNoz Logs management are based on ClickHouse, a columnar OLAP datastore which makes aggregate log analytics queries much more efficient
- 50% lower resource requirement compared to Elastic during ingestion
We have published benchmarks comparing Elastic with SigNoz. Check it out [here](https://signoz.io/blog/logs-performance-benchmark/?utm_source=github-readme&utm_medium=logs-benchmark)
<p>  </p>
### SigNoz vs Loki
@@ -152,9 +176,10 @@ Moreover, SigNoz has few more advanced features wrt Jaeger:
- SigNoz supports indexes over high cardinality data and has no limitations on the number of indexes, while Loki reaches max streams with a few indexes added to it.
- Searching over a huge volume of data is difficult and slow in Loki compared to SigNoz
We have published benchmarks comparing Loki with SigNoz. Check it out [here](https://signoz.io/blog/logs-performance-benchmark/?utm_source=github-readme&utm_medium=logs-benchmark)
# Notes for Maintainers/Contributors who will change Line Numbers of Frontend & Query-Section. Please Update Line Numbers in `./scripts/commentLinesForSetup.sh` & `./CONTRIBUTING.md`
# Notes for Maintainers/Contributors who will change Line Numbers of Frontend & Query-Section. Please Update Line Numbers in `./scripts/commentLinesForSetup.sh` & `./CONTRIBUTING.md`
# Notes for Maintainers/Contributors who will change Line Numbers of Frontend & Query-Section. Please Update Line Numbers in `./scripts/commentLinesForSetup.sh` & `./CONTRIBUTING.md`
echo"or reach us on SigNoz for support https://signoz.io/slack"
echo"++++++++++++++++++++++++++++++++++++++++"
@@ -511,13 +516,15 @@ else
echo""
echo -e "🟢 Your frontend is running on http://localhost:3301"
echo""
echo"ℹ️ By default, retention period is set to 7 days for logs and traces, and 30 days for metrics."
echo -e "To change this, navigate to the General tab on the Settings page of SigNoz UI. For more details, refer to https://signoz.io/docs/userguide/retention-period \n"
echo"ℹ️ To bring down SigNoz and clean volumes : $sudo_cmd docker-compose -f ./docker/clickhouse-setup/docker-compose.yaml down -v"
// this is the source url that initiated the login request
redirectUri:=constants.GetDefaultSiteURL()
ctx:=context.Background()
if!ah.CheckFeature(model.SSO){
zap.S().Errorf("[receiveSAML] sso requested but feature unavailable %s in org domain %s",model.SSO)
http.Redirect(w,r,fmt.Sprintf("%s?ssoerror=%s",redirectUri,"feature unavailable, please upgrade your billing plan to access this feature"),http.StatusMovedPermanently)
Embrace the spirit of collaboration and contribute to the success of our open-source project by adhering to these frontend development guidelines with precision and passion.
### React and Components
- Strive to create small and modular components, ensuring they are divided into individual pieces for improved maintainability and reusability.
- Avoid passing inline objects or functions as props to React components, as they are recreated with each render cycle.
Utilize careful memoization of functions and variables, balancing optimization efforts to prevent potential performance issues. [When to useMemo and useCallback](https://kentcdodds.com/blog/usememo-and-usecallback) by Kent C. Dodds is quite helpful for this scenario.
- Minimize the use of inline functions whenever possible to enhance code readability and improve overall comprehension.
- Employ the appropriate usage of useMemo and useCallback hooks for effective memoization of values and functions.
- Determine the appropriate placement of components:
- Pages should contain an aggregation of all components and containers.
- Commonly used components should reside in the 'components' directory.
- Parent components responsible for data manipulation should be placed in the 'container' directory.
- Strategically decide where to store data, either in global state or local components:
- Begin by storing data in local components and gradually transition to global state as necessary.
- Avoid importing default namespace `React` as the project is using `v18` and `import React from 'react'` is not needed anymore.
- When a function requires more than three arguments (except when memoized), encapsulate them within an object to enhance readability and reduce potential parameter complexity.
### API and Services
- Avoid incorporating business logic within API/Service files to maintain flexibility for consumers to handle it according to their specific needs.
- Employ the use of the useQuery hook for fetching data and the useMutation hook for updating data, ensuring a consistent and efficient approach.
- Utilize the useQueryClient hook when updating the cache, facilitating smooth and effective management of data within the application.
**Note -** In our project, we are utilizing React Query v3. To gain a comprehensive understanding of its features and implementation, we recommend referring to the [official documentation](https://tanstack.com/query/v3/docs/react/overview) as a valuable resource.
### Styling
- Refrain from using inline styling within React components to maintain separation of concerns and promote a more maintainable codebase.
- Opt for using the rem unit instead of px values to ensure better scalability and responsiveness across different devices and screen sizes.
### Linting and Setup
- It is crucial to refrain from disabling ESLint and TypeScript errors within the project. If there is a specific rule that needs to be disabled, provide a clear and justified explanation for doing so. Maintaining the integrity of the linting and type-checking processes ensures code quality and consistency throughout the codebase.
- In our project, we rely on several essential ESLint plugins, namely:
To ensure compliance with our coding standards and best practices, we encourage you to refer to the documentation of these plugins. Familiarizing yourself with the ESLint rules they provide will help maintain code quality and consistency throughout the project.
### Naming Conventions
- Ensure that component names are written in Capital Case, while the folder names should be in lowercase.
- Keep all other elements, such as variables, functions, and file names, in lowercase.
### Miscellaneous
- Ensure that functions are modularized and follow the Single Responsibility Principle (SRP). The function's name should accurately convey its purpose and functionality.
- Semantic division of functions into smaller units should be prioritized for improved readability and maintainability.
Aim to keep functions concise and avoid exceeding a maximum length of 40 lines to enhance code understandability and ease of maintenance.
- Eliminate the use of hard-coded strings or enums, favoring a more flexible and maintainable approach.
- Strive to internationalize all strings within the codebase to support localization and improve accessibility for users across different languages.
- Minimize the usage of multiple if statements or switch cases within a function. Consider creating a mapper and separating logic into multiple functions for better code organization.
Some files were not shown because too many files have changed in this diff
Show More
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.