* chore: minor cleanups to postgres integration instructions
* chore: update instructions for connecting redis integration
* feat: add instructions for collecting redis logs
* chore: flesh out prerequisites for connecting redis integration
* chore: add list of metrics collected for redis
* feat: [SIG-566]: Added message to alert user about their past due - subscription status
* feat: [SIG-566]: Added message string to billings.json
* feat: [SIG-566]: Added strings to billings.json
* feat: [SIG-566]: updated test cases
* feat: [SIG-566]: updated message text
* feat: [SIG-566]: code fix
* feat: [SIG-566]: code fix
* chore: offer metrics config instructions for signoz cloud only
* chore: some more cleanups
* chore: get log collection instructions started
* feat: flesh out log collection otel config for postgres
* chore: some cleanup
* chore: some more cleanup
* chore: some more cleanup
* fix: [SIG-565]: design feedback for integrations
* feat: added dotted line in the test connection modal
* feat: handle the URL change for integration details page to support back navigation
* feat: added ghost loading states
* feat: added margin for details header
* feat: added margin for details header
* feat: increase the list sizes to 20
* fix: handle icons
* fix: remove unused classes
* feat: [SIG-572]: allow number of lines changing in the logs list view
* feat: [SIG-572]: allow number of lines changing in the logs list view
* feat: added options to change row values in table view
* fix: build issues
* feat: [SIG-571]: added support for has and nhas operator for json filter
* fix: address review comments
---------
Co-authored-by: Nityananda Gohain <nityanandagohain@gmail.com>
* feat: implement download logs feature for logs explorer new design
* feat: address review comments
* feat: added timestamp and body to the start
---------
Co-authored-by: Nityananda Gohain <nityanandagohain@gmail.com>
* chore: update annotations for pre blocks in configuration instructions
* chore: update list of collected metrics for postgres integration
* chore: change non-string units to string in metrics collected list
* chore: some cleanups for postgres config instructions
* chore: some cleanup to metrics connection status resource labels
* chore: remove stub pipeline in postgres integration - no interesting log parsing to be done
* chore: add test expectations for integration metrics connection status
* chore: reorg logs connection status calculation for parallelization
* chore: add interface for reader.GetMetricLastReceivedTsMillis
* chore: add plumbing for calculating integration metrics connection status
* chore: impl and test mocks for reader.GetMetricReceivedLatest
* chore: wrap things up and get test passing
* chore: some cleanup
* chore: some more cleanup
* chore: use prom metric names for integration connection test
* refactor: done log explorer minimising save view toolbar
* refactor: local storage visibility support and done with traces toolbar
* refactor: added toolbar and removed commented code
* chore: css updates
* refactor: removed the background hightlighted code for droppable area
* refactor: merge conflict resolve and updated variable name
* refactor: added fullview and fix height issue for logs
* refactor: hide full view button on full view mode
* refactor: removed fullview for logs
* refactor: remove max with for body
* chore: add test for dashboards for installed integrations
* feat: include dashboards for installed integrations in API response
* chore: add test expectation for getting installed integration dashboard by id
* feat: add support for retrieving installed integration dashboards by id
* chore: add dashboard id validation for integrations
* feat: [SIG-543]: Users with VIEWER access can create/edit/delete views for logs and traces
* feat: [SIG-543]: remove extra code
* feat: [SIG-543]: role changes in the save views toolbar
* feat: [SIG-543]: role changes in the save views toolbar
* feat: remove the save feature / dashboard / alert feature for viewer roles
* feat: remove the save feature / dashboard / alert feature for viewer roles
* fix: address review comments
* feat: [SIG-543]: inital commit
* feat: [SIG-543]: refactor date time modal to separate component
* feat: [SIG-543]: refactor date time modal to separate component
* feat: add back the time support according to the older designs in the date time picker
* fix: custom time picker minor UI fixes
* chore: refactor: inject sqlx.DB into opamp.initDB instead of DB file name
* chore: reorganize test utils a little
* chore: add test validating pipelines for installed integrations show up in pipelines list
* chore: get basic integration pipelines testcase passing
* chore: reconcile experimental changes with latest state of develop
* chore: add integration test for reordering of pipelines
* chore: marker for integration pipelines using Id
* chore: hookup propagation of installed integration pipelines by opamp
* chore: add util for mapping slices
* chore: add support for reordering integration pipelines
* chore: exclude user saved integration pipelines if no longer installed
* chore: flesh out rest of intgeration pipelines scenarios
* chore: handle scenario when an integration is installed before any pipelines exist
* chore: notify agentConf of update after uninstalling an integration
* chore: some minor cleanup
* chore: some more cleanup
* chore: update ee server for changed controllers
* chore: some more cleanup
* chore: change builtin integration id prefix to avoid using colons that break yaml
* chore: update builtin integration id in test
* feat: support for timeshift in logs
* fix: post process the timeshift function result
* fix: start and end times adjusted
* fix: only apply functions instead of entire post process
* fix: unnecessary error handling removed
* fix: apply functions for all sources
* feat: test added for timeshift
* fix: comments corrected
---------
Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
* feat: get builtin integrations started with nginx
* feat: get started with embedding and parsing of builtin integrations
* chore: add icons for nginx and redis integrations
* chore: stash current state of work
* chore: remove all yaml annotations since moved to JSON assets for bundled integrations
* chore: add file uri hydration in integration spec
* chore: refactor file uri hydration logic
* chore: add support for referencing JSON files with file uri
* chore: bring in initial integration assets
* chore: hookup builtin integrations and get all tests passing
* chore: update icons for postgres and mongo and some cleanup
* chore: some more cleanup
---------
Co-authored-by: Raj Singh <raj@Rajs-MacBook-Pro.local>
* feat: refactor onboarding flow to add path params when selecting any module
* feat: added re-route to the onboarding flow in case of no logs and no traces
* chore: remove console logs
* chore: increase type safety
* chore: updated tab names
* chore: remove development conditions
* chore: handle cloud user
* feat: handle aws monitoring cases
* fix: apm framework not getting selected
* fix: apm framework not getting selected
* fix: apm framework not getting selected
* refactor: initial setup
* refactor: done with setup
* refactor: done with severity text split color
* refactor: initial setup
* refactor: done with setup
* refactor: done with severity text split color
* chore: added unit test case
* refactor
: pointed to the correct variable
---------
Co-authored-by: Nityananda Gohain <nityanandagohain@gmail.com>
* feat: integrations v0 base setup routes and components
* chore: typecheck fix
* feat: integrations landing page changes
* feat: initial header setup
* feat: integrations list page setup
* feat: integrations details content root setup
* feat: integration detail content setup
* feat: added overview tab
* feat: added data tab
* feat: handle configuration tab
* feat: add min height for the container
* feat: generate apis and hooks for usage
* feat: added remove integration modal
* feat: added remove integration modal
* feat: added remove integration modal
* feat: added test connection bars
* chore: add bottom margins
* feat: added test connection modal
* feat: add all types of test connection
* feat: add all types of test connection
* fix: address review comments
* fix: address review comments
* feat: added get all integrations API and search bar implemnetation
* feat: navigate to overview section in case of row click and configure in btn
* feat: integrate get integration details api
* feat: handle integration details page gracefully
* feat: integrate uninstall API and the connection states
* feat: add install integration API call
* feat: added api error handling
* feat: handle error states for list and details api
* feat: handle the logs and metrics columns
* feat: add TODOs for pending tasks
* feat: comment from side nav
* feat: added support for custom tags in react markdown
* chore: revert the temporary change for merge
* feat: integrate the status api calls and polling logic
* chore: add markdown components and correct the polling issue
* chore: handle light mode
* chore: remove integrations from sideNav
* fix: address review comments
* fix: address review comments
* fix: [SIG-532]: timeRange not updating correctly for copy log link
* fix: [SIG-532]: use virtuoso props to scroll to some intiial position rather than API hit
* fix: added styles for highlighted colors
* fix: handle colors for copy log link
* fix: update colors for copy log lines
* chore: add integration attribs for connection tests and status
* chore: add connection status to integration details response
* chore: update integration lifecycle test to check for connection status too
* feat: add GetIntegrationConnectionTests to integrations manager and controller
* chore: add tests for querying integration connection status
* feat: add http API support for integration connection status
* chore: some cleanups
* chore: use PostableRule for integration alerts
* chore: some more cleanup
* chore: add http api test for signoz integrations
* chore: add controller for integrations
* chore: add http API handlers for integrations API
* chore: hook up integrations API in new servers
* chore: add remaining fields in Integration DTO
---------
Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
* chore: bring in latest state of QS api work for integrations
* chore: integrations v0 qs API: refactor installed integration struct
* chore: finish up with integration lifecycle tests
* chore: some cleanup
* chore: some more cleanup
* chore: some more cleanup
* chore: some more cleanup
* chore: some more cleanup
---------
Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
* refactor: initial setup for list view logs
* feat: done with basic functionality panel view logs
* feat: added panel view
* fix: discard and edit issue
* refactor: removed not required params from uselogdata
* feat: trace list view
* fix: loader
* refactor: traces table component css update
* refactor: added open san font and udpated css
* fix: full view traces issue and search column css update
* refactor: remove consoles
* refactor: removed commented code and updated logic
* chore: build failure
* refactor: icons change for apdd panels
* refactor: rebased to develop
* refactor: added support for light mode
* refactor: fix tsc
* fix: query select issue
* chore: table column to lower case
* refactor: updated styling for both log and traces tables
* chore: removed comment code
* chore: remove the resizable block from table header traces
* refactor: log table header and body stayling updated
* fix: query range on every column add
* refactor: styling updates
* fix: query range log respect global time
* refactor: css update log table header
* refactor: removed unnecessary code
* refactor: log query range respect globaltime
* refactor: dropdown support to qb
* refactor: remove creating alert for list view
* refactor: fix the height of column select dropdown
* fix: dropdown suggestion for orderby
* refactor: remove the commented code
* refactor: full view respect global time
* refactor: css updates
* refactor: should fire query range on variable change
* refactor: css updates for log list view
* refactor: removed the unused changes
* refactor: handle error state for exploere columns
* refactor: handle error state for explorer columns
* chore: generate yarn lock file
* refactor: pagination for order by timestamp
* fix: full text body contain issue
* refactor: inverted the operator for next and previous button config
* refactor: rename variable handle light mode
* fix: no log issue
* chore: renamed variables
---------
Co-authored-by: Vikrant Gupta <vikrant.thomso@gmail.com>
* feat: api keys crud - integration v0.1
* feat: add test cases
* fix: add review comments
* feat: api integration and ui updates
* feat: update test cases
* feat: update expiriesAt request payload
* feat: ui feedback updates
* feat: api keys crud - integration v0.1
* feat: add test cases
* fix: add review comments
* feat: api integration and ui updates
* feat: update test cases
* feat: update expiriesAt request payload
* feat: ui feedback updates
* feat: handle light mode styles
* feat: hide pagination on single page
* feat: do not show last used if not present or 0
* feat: show tooltip on role
---------
Co-authored-by: Rajat Dabade <rajat@signoz.io>
* chore: base file for logs explorer jest test cases
* chore: added base setup for logs explorer jest fixing the uplot/d3-interpolate/antd-config errors
* chore: added test for rendering of logs explorer page without API calls
* chore: added test for rendering of logs with API call
* chore: used virutoso mock to render items on the screen
* chore: used virutoso mock to render items on the screen
* chore: update dummy data
* feat: api management
* chore: address review comments and typos
* chore: add sort and created by user object on create
* chore: replace expiresAt with expiresInDays for request body
* fix: date time value retain on location switch
* chore: added inline comments
* feat: added shortcut strings based on user os
* feat: added shortcut strings based on user os
* feat: added shortcut strings based on user os
* feat: added shortcuts page in the side nav
* fix: update shortcuts for add to dashboard and alerts
* fix: cmd+enter should stage and run query
* chore: refactor the shortcuts utils
* feat: support run query even when input is focussed
* fix: dropdown visibility change
* feat: add shortcuts for sideNav
* feat: auto focus logs explorer search bar with hotkey
* fix: update the shortcuts for sideNav and dependencies
* fix: remove dashboard and alert shortcuts
* fix: minor typo changes
* feat: support cache in logs
* fix: revert fluxinterval changes
* feat: support for limit queries
* feat: support for formula
* fix: refractor code and don't return all points
* fix: add nil params check
* fix: error handling updated
* fix: start and end params fix
* feat: logs explorer - new design
* feat: update styles
* feat: added new toolbar for logs explorer (#4336)
* feat: logs list view changes (#4348)
* feat: logs list view changes
* fix: list view and toolbar styles
* feat: side btns
* feat: added auto refresh handler
* feat: handle popover close for btn click date time
* feat: extract the common log actions btn component
* feat: update the button for log line actions
* fix: event propagation from context button
* feat: use styles from ui-library
* Query builder design update (#4359)
* feat: QB design update
* fix: add functionality and light mode styles
* fix: ts issues
* fix: update all css color variables to correct names
* fix: lint errors
* feat: new table view for logs explorer list section (#4353)
* feat: table view changes for logs list
* feat: code refactor to support log line actions
* feat: code refactor to support log line actions
* fix: the positioning of the btns
* feat: fix the table onclick
* fix: header issue
* fix: on hover
* fix: type issue
* fix: eslint error
* fix: type errors (#4360)
* feat: handle light theme for logs explorer design changes (#4363)
* feat: handle light theme for list tables and dateTime selection
* feat: handle light theme for popover
* fix: address review comments
* feat: date time custom time modal to render inside the new popover (#4366)
* feat: single calender for range picker
* fix: edgecases
* feat: integrate date time selector across app
* fix: remove dangling border after element removal
* feat: handle qb design changes across the application
* feat: handle light theme
* feat: handle light theme
* fix: virtuoso scroll refresh issue
* feat: handle new typing changes for date time picker v2 (#4386)
Co-authored-by: Yunus M <myounis.ar@live.com>
* chore: styles improvement across new design (#4389)
* fix: improve date time styles
* feat: table view changes according to new design
* fix: button visibility in clickhouse and promQL headers (#4390)
* feat: change the tabs to new design buttons for query builder
* Settings theme change (#4368)
* feat: settings theme change
* [Refactor]: New design for Log details page (#4362)
New design for Log details page
Co-authored-by: Vikrant Gupta <vikrant.thomso@gmail.com>
Co-authored-by: Yunus M <myounis.ar@live.com>
* feat: save view for new design (#4392)
* feat: save view for new design
* refactor: done with save view
* feat: update styles for logs detail view (#4407)
* feat: update styles for logs detail view
* feat: update styles for logs detail view
* feat: add raw view attributes in the logs list view (#4422)
* feat: add raw view attributes in the logs list view
* feat: add raw view attributes in the logs list view
* fix: raw attributes
* fix: logs UI improvements (#4426)
* fix: remove fixed times from the date time picker v2
* fix: added old logs explorer CTA in new designs
* feat: handle active logs indicator update
* fix: address review comments
* fix: old logs explorer page
* fix: remove info text and add relative time buttons
* fix: update logs explorer tab designs
* fix: update logs explorer tab designs
* fix: update logs explorer tab designs
* refactor: New design for Save views. (#4435)
* feat: [GH-4436]: date range enhancements (#4448)
* feat: [GH-4436]: when selecting custom time range it should be from start of day to end of date
* fix: custom time width and refresh text visibility issues (#4428)
---------
Co-authored-by: Yunus M <myounis.ar@live.com>
* feat: update ui (#4449)
* feat: added loading and error states for logs design (#4452)
* feat: added loading and error states for logs design
* feat: added error states for table view and time series view
* feat: handle error and loading states
* feat: loading states
* [Refactor]: Tab Switch deplay issue and UI improvement for Clickhouse (#4409)
* fix: switching between logs display tabs (#4457)
* [Feat]: View in Traces (#4450)
* refactor: datetime selector beside run query removed add to dashboard
* refactor: added tab for traces view details page
* refactor: done with the save view in traces
* fix: the gittery effect when navigatigating from views
* refactor: view tab view title light mode support
* refactor: removed console
* fix: gittery effect when switch view from views tabs
* refactor: separate traces routes
* refactor: remove query params
* chore: fix tsc issues
* fix: jest config issues
* fix: update TODO and remove extra braces
* feat: handle loading states and incorporate ui feedback (#4479)
* UI feedback updates (#4482)
* feat: handle loading and fix ui issues
* feat: ui updates
* fix: logs explorer issues (#4483)
* fix: logs explorer issues
* fix: jest test cases
* feat: support custom times unique to pages new design changes (#4485)
* fix: loading states for list log view (#4486)
* fix: logs search view query fix, logs details view - attribute tags alignment fix (#4489)
* fix: delete empty file
* fix: chart loading when scrolling logs (#4495)
* fix: chart should not load when scrolling the logs as it is already fetched
* fix: make the search bar as default rather than advanced options
* fix: rename show context to show in context
* fix: query range api not triggering on default select first load (#4498)
* Refactor: Log Explorer UI changes. (#4502)
* refactor: used selected view enum
* refactor: updated hight of switch old button and tab border
* refactor: import fixes
* refactor: query builder border and button groups
* refactor: removed hypen from refreshed
* refactor: show delete button only when there is more than one query
* refactor: sqaure up the query build button groups
* refactor: updated css
* fix: additional filter color button shadow
* refactor: removed commented code and used selected panel enum
* refactor: updated typecheck script
* refactor: used enum selected view (#4504)
* fix: retain the current query on date time change (#4510)
* feat: added new icon for promQL and added tooltips for dashboards and alerts (#4512)
* feat: added new icon for promQL and added tooltips for dashboards and alerts
* fix: styles at 1440 px zoom
* fix: rename clickhouse to clickHouse
---------
Co-authored-by: Vikrant Gupta <54737045+Vikrant2520@users.noreply.github.com>
Co-authored-by: Vikrant Gupta <vikrant.thomso@gmail.com>
Co-authored-by: Rajat Dabade <rajat@signoz.io>
* feat: setup the context for keyboard hotkeys
* feat: add error handling for duplicate callbacks
* feat: supported added for caps and document the return value
* feat: added shortcut for cmd+b for sideNav open and close
* feat: added jest test
* fix: address review comments
* fix: block the browser default actions wherever possible
* fix: remove browser ovverides prevention code
* refactor: added null check while searching for dashboard
* refactor: flitering null value out
* chore: removed extra space
* refactor: remove unnecessary null check
* refactor: conditional based apdex on metrics and trace query range
* chore: add invalid float conversion
* Revert "refactor: conditional based apdex on metrics and trace query range"
This reverts commit ca44a7aedd.
* refactor: added servicename to the query params
---------
Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
* fix: autosave layout to layout change
* fix: autosave layout to layout change
* refactor: no update api call on opening dashboard
* refactor: removed extra put api call
* refactor: if condition changed
---------
Co-authored-by: Rajat-Dabade <rajat@signoz.io>
* feat: custom date time value
* fix: update custom date picker
* fix: old placeholder value flicker
* fix: html semantics and move styles to css
* fix: remove console logs
---------
Co-authored-by: Vikrant Gupta <vikrant.thomso@gmail.com>
* feat: soft min and soft max in uplot chart
* fix: build pipeline
* fix: tsc
* refactor: added test case
* refactor: updated logic and added unit test
* refactor: updated logic
* chore: removed placeholder
---------
Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
Co-authored-by: Yunus M <myounis.ar@live.com>
* feat: update sidebar and base theme styles
* feat: update sidebar items and styles
* feat: wire up logs navigation and update user settings page
* feat: update styles to handle light mode, add full view header
* feat: update onboarding header and styles
* feat: remove unused routes
* feat: handle sidebar collapse
* feat: show pointer on logo hover
* feat: fix logs module navigations
* feat: update logo click route
* feat: update entity name color to primary in application and dashboard tables
* feat: update sidebar item styles
* feat: update collapse icon and styles
* fix: name not updated in menu on change
* fix: show invite members nav item
* fix: open invite members modal on invite team member nav item click
* chore: update BuilderQuery struct and add PrepareTimeseriesFilterQuery
* chore: add prepare query for cumulative/unspecified timeseries
* chore: add prepare query for delta/unspecified timeseries
* chore: update group by to work with 23.11+
* chore: fix test
---------
Co-authored-by: Nityananda Gohain <nityanandagohain@gmail.com>
* chore: panic if agent config recommendation can't be generated
* chore: add case with coalesce op in field nil check generation tests
* fix: ignore expr ast member nodes that contain coalesce op in them
* refactor: added 3 days global timestamp
* refactor: updated 3 days data in right container
* refactor: common function for calculate start and end time
* chore: add test validating contains and ncontains in pipeline filter are case insensitive
* chore: qb2expr: translate contains and ncontains to case insensitive comparison
* chore: minor cleanup
* chore: add test validating that using paths like attributes["http.method"] works
* chore: refactor nil checks on processor fields generated for pipelines
* chore: get nil checks working on paths like attributes["http.method"]
* chore: use parsed AST for generating nil checks for add operator value expressions
* chore: some cleanup
* chore: some more cleanup
* chore: some more cleanup
* chore: some more cleanup
---------
Co-authored-by: Nityananda Gohain <nityanandagohain@gmail.com>
* feat: show rate limit warning in services page when total rps > 100
* feat: update message
* feat: rate limit message should be shown only to cloud users on trail
---------
Co-authored-by: Vishal Sharma <makeavish786@gmail.com>
* chore: add support for showing attrib names containing dots in log details
* chore: add support for field names with dot in filter actions
* chore: minor cleanup
* chore: add support for filtering by clicking fields with dots in log details
* fix: dot support
* fix: column name updated for materialized columns
* fix: tests updated
* fix: comments updated
* fix: enrichment test updated
* fix: dont return underscore fields in the fields API
* fix: update fields function changed to support default instead of materialized
* fix: updated how formulas are built and test added
* fix: don't create index for bool attributes
* fix: support for limit queries updated
* chore: add test validating pipeline config containing dollar works
* chore: collector simulator: use fileprovider with expandconverter like actual collector
* chore: get tests passing
* chore: take a configGenerator func in simulation and unify config generation logic
* fix: escape $ in config generated for log pipelines
* fix: lettercase bug in query-builder
* fix: suggesting similar value when entering diffrnt case value
---------
Co-authored-by: Vishal Sharma <makeavish786@gmail.com>
* feat: round of x axis max timestamp to t - 1 min and 0th second
* feat: set min width of time selection dropdown to 120px
* feat: update logic comment
---------
Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
* feat: show range bound chart based on the selected time range
* feat: handle no data
* feat: show bigger point if only data point exists
* feat: show bigger point if only data point exists
* feat: widget ui fixes
* feat: no data - full view fix
* fix: show closed point on hover
* feat: handle widget time preference in case of dashboard, edit view, full view and chart preview
* chore: add processor config for time parsing processor
* chore: add select input and processor fields with enumerated options
* feat: set timestamp layout to default value when layout_type is changed
* chore: minor cleanup
* chore: some more cleanup
* chore: some more cleanup
* chore: get jest passing
* chore: normalize ts in pipelines previews input and output
* chore: some cleanup
* fix: set correct field id for timestamp format input
* chore: update test helper for making logs
* chore: add happy case test for severity parser
* feat: get severity parsing processor working and add more happy path tests
* chore: add test for validating severity parser doesn't spam collector logs
* chore: add if condition to generated severity_parser operators
* chore: add postablePipeline validation for severity parser
* chore: minor cleanup in tests
* chore: allow trace and fatal in severity mappings
* chore: relocate tests for trace and grok parsing processor
* chore: add test for timestamp parsing processor
* feat: update PipelineOperator model for time parser fields and get tests passing
* chore: add test cases for validating time parser fails silently on mismatched logs
* chore: add helper for generating regex for strptime layouts
* feat: time_parser ignore logs whose parseFrom value doesn't match strptime layout
* chore: escape regex special chars if any in the layout string before preparing regex
* chore: add operator.If on time_parser when using layout type epoch
* chore: finish up with operator.If on time_parser for layout type
* chore: postable pipeline validation for time parser
* chore: some cleanup
* chore: some more cleanup
* chore: add validation for strptime layouts in postable pipelines
---------
Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
* chore: logs pipelines: add test for validating workaround for working with dots in keys
* fix: temp workaround for supporting pipeline filters using names with dots converted to underscore
* chore: add test validating collector doesn't spam logs for string ops on missing attributes
* fix: pipelines filter: check if attrib is not nil before running string operator
* chore: do a nil check for all but == and != ops
* fix: handle nan in uplot
* feat: filter for nan is added for metrics
* feat: filter for nan is added for metrics
---------
Co-authored-by: Vishal Sharma <makeavish786@gmail.com>
* feat: improve dashboard view user experience
* chore: dashboard ux is updated
* feat: add inter font and set font family in theme configuration
---------
Co-authored-by: Palash Gupta <palashgdev@gmail.com>
* chore: logs pipelines: add help text with link to pipeline docs
* chore: add logs pipelines list empty state with help video and link to docs
* chore: minor cleanup
* chore: update test snapshot
* chore: dont show table & filter in pipeline lists empty state
* chore: add sandbox constraints to logs pipelines empty state video iframe
* chore: update test snapshot
* 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
* feat: fill span gaps is added
* chore: build is fixed
* chore: get fill spans is updated
* chore: console is removed
---------
Co-authored-by: Palash Gupta <palashgdev@gmail.com>
* feat: done with the basic design
* refactor: started working with functionality
* refactor: done with saving the thresholds
* refactor: done with coloring and conflicting threshold in value chart
* refactor: done with the backgound color and text
* refactor: done with unit in value graphs
* refactor: done with precedence and drag and drop
* refactor: removed the unwanted console
* chore: updated snapshot and test
* refactor: support for dark mode
* refactor: done with the review changes
* refactor: removed the extra created file
* refactor: tsc fixes
* refactor: updated border color
* refactor: updated required mark
* refactor: added missing props
* refactor: tsc fixes
* refactor: addressed review comments
* feat: uplot graph is added and some re-rendering is reduced
* chore: uplot is updated
* feat: changes for the graph is updated
* refactor: added y-axis unit in uplot graph (#3818)
* refactor: added y-axis unit in uplot graph
* refactor: removed the ticks stroke from both access
* feat: create tooltip plugin for uplot charts (#3823)
* feat: create tooltip plugin for uplot charts
* feat: show labels in legends section
---------
Co-authored-by: Yunus M <myounis.ar@live.com>
* feat: uplot points is handled (#3817)
* chore: resize is updated
* chore: uplot chart dark mode is updated
* chore: widget is updated
* chore: options is updated
* chore: value panel is updated
* feat: uplot chart is updated
* feat: onDrag is updated
* feat: data for graph is updated
* feat: alert section is fixed
* feat: not found is updated
* feat: fix dashboard title section and other uplot parity issues (#3839)
* feat: fix dashboard title section and other uplot parity issues
* feat: update scrollbar style for legend container
* chore: initial width is updated
* feat: onlcick is updated
* feat: widget full view fixes (#3847)
Co-authored-by: Palash Gupta <palashgdev@gmail.com>
* feat: show labels in tooltip overlay (#3867)
* chore: memo is added
* feat: toggle is updated
* fix: Tooltip values is now fixed (#3894)
* chore: tooltip is updated
* chore: avoided the compute based on show
* chore: tooltip data is updated
* feat: resize graph based on the y axis max label length (#3895)
* chore: build is in progress to fix
* [Feat]: Full View (#3896)
* fix: initial setup for full view done
* refactor: done with the graph manager logic
* refactor: done with the toggle issue in full view
* refactor: done with toggle of data
* refactor: done with legend to table mapping
* refactor: ts error
* chore: utils is updated
* refactor: updated types
* fix: option type fix
---------
Co-authored-by: Palash Gupta <palashgdev@gmail.com>
* feat: use spline renderer to plot curved line graphs, full view impor… (#3919)
* feat: use spline renderer to plot curved line graphs, full view imporvements
* feat: increase min height for panel
* chore: move code to utils and plugins in uplot folder
* chore: update tooltip styles
* fix: add panel issue in dashboard (#3920)
* fix: update on click plugin opts import path
* feat: replace time series graph in logs explorer and trace explorer with uplot (#3925)
* feat: alert threshold is added (#3931)
* feat: uplot styles are fixed (#3941)
* Fix/app dex aligment (#3944)
* feat: uplot styles are fixed
* fix: app dex aligment
* fix: full view after saving is fixed
* feat: css is updated (#3948)
* feat: on click handler position - factor in the padding on top and left
* fix: timestamp for start and end is updated for view trace (#3966)
* fix: timestamp for start and end is updated for view trace
* chore: timestamp is added
* fix: loading over flow is fixed (#3969)
---------
Co-authored-by: Rajat Dabade <rajat@signoz.io>
Co-authored-by: Yunus M <myounis.ar@live.com>
* feat: create menu items is added in the service application widgets
* chore: filter query is updated
* fix: build is fixed
* feat: selected query is updated
* chore: create alerts is updated
* feat: dashboard alerts is updated
* chore: spacing is updated
* feat: dashboard to alerts is updated
* fix: build is fixed
* feat: alert query options is updated
* chore: menu list is updated for tabel panel
---------
Co-authored-by: Rajat Dabade <rajat@signoz.io>
Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
* chore: return warning logs too from collector simulator
* chore: also return collector logs in preview API response to help with debugging
---------
Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
* feat: dashboard lock feature
* feat: update API method and minor ui updates
* feat: update API and author logic
* feat: update permissions for author role
* feat: use strings and remove console logs
* refactor: global time range downdown for alert edit page
* refactor: respect global time range for alerts
* refactor: some ui fixes
* refactor: added global time range in alert new page
* fix: custom time selection in alert
* fix: the run query works
* refactor: remove the routes pipeline
---------
Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
Co-authored-by: Ankit Nayan <ankit@signoz.io>
* chore: experiment with using a tmp file for getting collector logs in simulator
* chore: collector simulator: cleaned up tmp file based collector logs capture
* chore: add test validating regex proc doesn't error for logs that dont match
* chore: return collector error logs from pipeline preview API
* chore: add test validating regex processor doesn't log errors for mismatched logs
* chore: add if condition for generated regex processors
* chore: add test case validating json parser ignore non json logs
* chore: add if condition for operator generated for json parser
* chore: add test case validating move processor ignores logs with missing field
* chore: add if condition for operator generated for move
* chore: add test case validating copy processor ignores logs with missing field
* chore: add if condition for operator generated for copy
* chore: add test case validating remove processor ignores logs with missing field
* chore: add if condition for operator generated for remove
* chore: log pipelines: ensuring json parser ignores log if json field is missing
* chore: log pipelines: ensure regex parser ignores log if field is missing
* chore: update logs pipelines title and routes
* chore: add nav for logs pipelines
* feat: debounced pipelines sarch on change, navigation text changes
* fix: get lint passing
* fix: update snapshots for tests
---------
Co-authored-by: Yunus A M <myounis.ar@live.com>
* fix: remove the space and fix the classname
* refactor: made the dynamicColumnsTable-items responsive
* fix: setcolumndata to a separate function
* fix: handle invalid CreatedOrUpdateTime
* fix: hyphenate classname and bme
* refactor: move the implementation to separate component
* refactor: removed the bydefault render
* refactor: remove render
* refactor: removed unwanted imports
* fix: remove the space and fix the classname
* refactor: made the dynamicColumnsTable-items responsive
* fix: setcolumndata to a separate function
* fix: handle invalid CreatedOrUpdateTime
* fix: hyphenate classname and bme
* refactor: move the implementation to separate component
* refactor: removed the bydefault render
* refactor: remove render
* fix: the classname
* refactor: done with the download option for key-operation
* refactor: added search option for key operation metrics
* refactor: done with the download option for key-operation
* refactor: added search option for key operation metrics
* refactor: updated downloadable data
* refactor: updated downloadable data for metrics key operation
* refactor: updated the data
* refactor: map with the correct value for export
* refactor: updated downloabable data for metrics
* refactor: updated the data for metrics
* refactor: added safety check
---------
Co-authored-by: Ankit Nayan <ankit@signoz.io>
* fix: fe: log pipelines: label and icon for deploy status 'UNKNOWN'
* fix: handle scenarios when response.payload?.pipelines is undefined (eg: post delete all)
* chore: add trace parser fields to log pipeline ProcessorData interface
* chore: update trace parsing processor form field configs
* chore: logs pipeline preview: better display of sample logs when too few logs in sample
* fix: log pipelines: get tests passing: remove name prop passed to antd input
* chore: add test for ensuring pipeline previews work for trace parser processors
* chore: updates to trace parser validation in postable pipelines
* chore: extract auth.randomHex into utils.RandomHex for reuse
* chore: get trace parser preview test passing
* chore: start with JSON serialized trace parser in test to cover deserialization
* chore: address PR feedback
* feat: added dropdown in alert list table
* refactor: done with combining actions
* feat: done with label and dynamic table
* feat: dynamic column in table
* chore: show all label on hover
* refactor: create to created timestamp - highlighted action
* refactor: storing the column data in localstorage
* chore: add test for previewing pipeline with grok parser
* chore: import grok parser in logparsing preview to ensure its a registered logtransform op
* chore: add dependencies for grok parsing operator
* chore: pass dirty pipeline to preview action when editing
* chore: update snapshot for pipeline lists view
* chore: log pipelines list view: refactor dirty pipeline state management
* chore: use memoized value for filtered pipelines instead of useEffect based updates
* chore: update pipeline reorder logic to work on filtered view too
* chore: minor cleanup
---------
Co-authored-by: Rajat Dabade <rajat@signoz.io>
* chore: mocked the date object
* chore: shifted utility function to utils
* chore: commented the blocking test case
* refactor: getremainingdays generic
* chore: get working and add config for opamp managed collector
* chore: add config for opamp managed collector to pkg/query-service/tests/test-deploy/
* chore: add config for opamp managed collector to docker-swarm deployment
* chore: update signoz-otel-collector image version & specify --copy-path
* chore: retain root user comment in docker-compose-core.yaml
* chore: update collector image tag in swarm conf and add qs dependencies
* chore: some more cleanup
* refactor: setup wrapper for all the providers
* refactor: done with unit test configuration and service layer testing
* refactor: checking for multiple services
* refactor: updated test cases added table sort
* refactor: moved hooks mocking to test-utils
* refactor: added the search test case
* refactor: updated the handler with mocks data
* chore: pass dirty pipeline to preview action when editing
* chore: show pipeline actions when clicking New Pipeline for the 1st time
* chore: ensure pipeline previews work for disabled pipelines too
* chore: show preview action on pipelines when not editing
* chore: update snapshot for pipeline lists view
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.
* fix: update version check login and other minor UI fixes
* fix: update text in billing page
* fix: remove useEffect and replace with onSuccess and fix remaining days bug
* feat: integrate billing api and wire up billing ui
* feat: show billing to admin only if on plans other than basic plan
* feat: show billing to admin only if on plans other than basic plan
* feat: update notfound snapshot
* chore: fix billing sidenav logic
* chore: fix several bugs
* chore: backend fix for billing
* fix: window.open pop blocker issue and error ui (#3750)
---------
Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
Co-authored-by: Rajat Dabade <rajat@signoz.io>
* chore: add integration test for log pipelines being recommended to agents on connection
* chore: agentConf.Manager as AgentConfigProvider
* feat: logparsingpipelines as an AgentFeature
* chore: some cleanup
* feat: update agentConf init in ee query-service
* chore: more cleanup and move opamp/logspipeline -> logparsingpipeline/collector_config.go
* chore: some more cleanup
* chore: set agent.RemoteConfig after broadcasting conf to all agents
* chore: add test scenario for post remote conf application
* feat: add interface for opamp.AgentConfigProvider
* feat: add iface and plumbing for generating recommended conf in opamp/agent
* feat: get opamp server config provider tests started
* chore: add test scenario for agent connection without a config recommendation
* chore: add test scenario for agent connection with a config recommendation
* chore: add test for validating config deployment status gets reported
* chore: add test for rolling out latest config recommendations when config changes
* chore: wrap up opamp server lifecycle tests
* chore: some tests cleanup
* chore: get all tests passing
* chore: update opamp server init logic in ee query service
* chore: some cleanup
* chore: some final cleanup
* feat: add pipeline preview API
* chore: separate PipelineActions and ProcessorActions components
* feat: add pipeline preview action
* chore: extract useSampleLogs hook and move SampleLogs to filter preview components
* chore: extract SampleLogsResponseDisplay for reuse
* feat: bring together pipeline preview modal content
* chore: generalize SampleLogsResponse to LogsResponse
* feat: finish wiring up pipeline preview flow
* chore: separate response models for useSampleLogs and usePipelinePreview
* chore: require explicit action for simulation after changing logs sample search interval
* feat: error and empty state for pipeline simulation result
* chore: look for error in sample logs response data too
* chore: remove tests for deleted component & update snapshot for PipelineAction tests
* chore: minor cleanup
* chore: address feedback: move timestamp normalization out of api file
* chore: address feedback: use axios directly in pipeline preview API call
* chore: address feedback: use REACT_QUERY_KEY constant for useQuery key
* chore: minor cleanup
---------
Co-authored-by: Palash Gupta <palashgdev@gmail.com>
* feat: hoc to support markdown content with variable interpolation
* feat: add ingestion settings page
* feat: update ingestion settings page and java docs to use interpolation
* feat: integrate ingestion info API and update docs components to use ingestion info
* feat: address review comments and update <my-app> to <servive-name>
* feat: add logsparsingpipeline controller api for pipeline previews
* feat: add http handler and route for generating pipeline previews
* feat: use a response model for pipeline previews response
* 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: dashboard widget page is refactored
* chore: key is updated
* chore: delete widget is updated
* chore: naming of the file is updated
* feat: dashboard changes are updated and selected dashboard and dashboardId is added
* chore: dashboard widget page is updated
* feat: setlayout is updated
* chore: selected dashboard is updated
* chore: dashboard is updated
* fix: feedback is updated
* chore: comments are resolved
* chore: empty widget id is updated
* fix: variables is updated
* chore: dashboard variable and name,description is now updated in hooks
* chore: build is fixed
* chore: loading experience is updated
* chore: title is updated
* fix: dashboard variables and other changes are updated
* feat: dashboard reducer is removed
* feat: widget header is updated
* feat: widget header is updated
* chore: dashboard is updated
* chore: feedback is updated
* fix: issues are fixed
* chore: delete is updated
* chore: warning message is updated
* chore: warning message is updated
* chore: widget graph component
* feat: dashboard condition is updated
* chore: getChartData is updated
* chore: widget details page is updated
* feat: tab sync is updated
* chore: layout is updated
* chore: labels is updated
* chore: message is updated
* chore: warining message is updated
---------
Co-authored-by: Rajat Dabade <rajat@signoz.io>
Co-authored-by: Vishal Sharma <makeavish786@gmail.com>
* feat: lowercase operators suuport in the where clause is updated
* feat: options is now updated
* chore: log message is updated
* chore: auto completed is updated
* chore: tagRegex is updated
* feat: update regex to math operators and text operators
* chore: operator is updated
* chore: options is updated
---------
Co-authored-by: Yunus A M <myounis.ar@live.com>
* feat: get collectorsimulator started and add inmemoryreceiver
* feat: add collectorsimulator/inmemoryexporter
* feat: add collectorsimulator.SimulateLogsProcessing
* chore: clean up collector simulator code a little
* chore: update go.sum entries for cors
* chore: add collectorsimulator tests to make cmd
* chore: move to latest dependency version for collectorsimulator
* chore: revert to dependency versions matching signoz-otel-col
* chore: cleanup: reorganize collectorsimulator logic
* chore: some more cleanup
* chore: some more cleanup
* chore: some more cleanup
* chore: redo go.mod
* feat: query builder formula is updated
* feat: formula is updated for having and limit
* feat: orderBy is updated
* feat: formula is added
* chore: add query-service support for formula limit and order by
* feat: enable more filters is displayed when all data source is metrics
* chore: feedback is updated
* chore: feedback is updated
---------
Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
Co-authored-by: Rajat Dabade <rajat@signoz.io>
From the Go specification [1]:
"1. For a nil slice, the number of iterations is 0."
"3. If the map is nil, the number of iterations is 0."
Therefore, an additional nil check for before the loop is unnecessary.
[1]: https://go.dev/ref/spec#For_range
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
* chore: use v3.Filterset as pipeline filters in logparsing pipelines integration tests
* chore: get logparsing integration tests passing with filterset based pipeline
* chore: get all other breaking tests passing
* chore: move models.logparsingpipeline to logparsingpipeline.model
* chore: implement Valuer and Scanner interfaces for v3.FilterSet
* feat: old logs explorer is now deprecated
* chore: logs to trace is updated
* chore: min and max time is added
* chore: new explorer cta button is updated
* feat: limit filter is enabled in the metrics filters
* chore: orderBy is enabled for metrics data source
* chore: fix table type limit and order by
---------
Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
* feat: tree is updated to show different node values instead of editor
* chore: table view is updated
* [Refactoring]: Seperate title and menu to another component (#3531)
* refactor: separated the title renderer
* refactor: separated styles
* refactor: seperate types
* refactor: instead of key showing value if array (#3532)
* refactor: instead of key showing value if array
* feat: added filter for array and also nodekey
* refactor: made common check for value is array
* refactor: changed the key to value for arrays
* chore: getData types is updated
* chore: getDataTypes function types is updated
* refactor: connection to querybuilder (#3535)
Co-authored-by: Palash Gupta <palashgdev@gmail.com>
* chore: operator is updated
* fix: build is fixed
* fix: build is fixed
* chore: operator is updated
* chore: operator is updated
* chore: parsing is updated
* chore: key is updated
* Refactor: Log parsing updates (#3542)
* refactor: updated nodekey
* refactor: removed pasred data
* refactor: parentIsArray check
* chore: added the support for the bool
* [Refactor]: handle nested object case (#3545)
* refactor: updated nodekey
* refactor: removed pasred data
* refactor: parentIsArray check
* refactor: handled nested array inside object case
* fix: float issue parsing
* chore: operator is updated
* chore: title is updated
* chore: title is updated
* fix: update tagRegexp
* fix: maintain single source of DataTypes
* chore: operator is updated
* fix: fixed due to merge conflicts
---------
Co-authored-by: Rajat Dabade <rajat@signoz.io>
Co-authored-by: Yunus A M <myounis.ar@live.com>
* refactor: search in dropdown
* refactor: name of the view to i18
* refactor: make the use of useForm from antd
* refactor: moved QuerySearchParamNames into save view module
* refactor: reset to query build when click on explorer link
* refactor: save view prd design changes
* refactor: reverted resetQuery in querybuilder
* refactor: queryParams to query.ts in querybuilder constants
* fix: redirect with saved view is updated
* refactor: removed useffect logic for updating query
---------
Co-authored-by: Palash Gupta <palashgdev@gmail.com>
* feat: all dashboard is migrated to useQuery and action is removed
* chore: delete functionality is updated
---------
Co-authored-by: Palash Gupta <palashgdev@gmail.com>
* chore: add integration test for log parsing pipelines validation
* chore: add helpers for creating unauthorized, unavailable & not found api errors
* chore: return *model.APIError from logpipeline and agentConf functions
* chore: some cleanup
* chore: some more cleanup
* chore: one more round of cleanups
* refactor: search in dropdown
* refactor: name of the view to i18
* refactor: make the use of useForm from antd
* refactor: moved QuerySearchParamNames into save view module
* refactor: reset to query build when click on explorer link
* refactor: reverted resetQuery in querybuilder
---------
Co-authored-by: Palash Gupta <palashgdev@gmail.com>
Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
* fix(FE/Logs): fix all logs not visible on scrolling
* fix(FE/logs): fix scroll behaviour in live logs
* refactor(FE/logs): replaced StyledComponents with scss
---------
Co-authored-by: Rajat Dabade <rajat@signoz.io>
* fix: avoid pipeline builder panic if first op is disabled
* chore: use pipeline builder test to trigger getOperator panic
---------
Co-authored-by: Nityananda Gohain <nityanandagohain@gmail.com>
* feat: save view switch and save view done
* feat: delete view completed
* refactor: moved update logic to utils
* chore: removed unwated commented logic
* refactor: shifted save view logic to utils
* refactor: separated types
* refactor: updated types for save view
* refactor: shifted delete view logic to utils
* refactor: done with share url
* refactor: separated constants
* refactor: separated types
* test: added unit test for explorerCard
* refactor: done with update view
* refactor: added test cases
* chore: updated the file name from index to ExplorerCard
* refactor: moved unit test to test folder and useCallbacks
* chore: changed the variable names
* refactor: updated code review comments
* chore: fix build pipeline
* fix: 404 for query_range because of attribute operator
* refactor: functional review commnet address
* refactor: updatd unit test
* refactor: added delete option beside save view
* refactor: row align middle
* fix: build pipeline
* refactor: updated logic and review comments changes
* refactor: fixed build pipeline
* refactor: used onSuccess and onError for mutation
* refactor: onSuccess and onError for saveView
* refactor: mapping in function with query type
* refactor: updated code review comments
* refactor: updated explorerCard utils
* refactor: removed async
* fix: update state for save view
* refactor: tab according to aggregate operator
* refactor: updated test case
* refactor: updated the loading state of the button
* fix: build pipeline
* fix: share view tab updates
* fix: click on dropdown
---------
Co-authored-by: Palash Gupta <palashgdev@gmail.com>
Co-authored-by: Yunus M <myounis.ar@live.com>
* feat: create live logs page and custom top nav
* feat: add live logs where clause
* fix: success button color
* fix: turn back color
* fix: undefined scenario
* feat: get live data
* fix: change color, change number format
* feat: add live logs list
* feat: hide view if error, clear logs
* feat: add condition for disable initial loading
* fix: double request
* fix: render id in the where clause
* fix: render where clause and live list
* fix: last log padding
* fix: list data loading
* fix: no logs text
* fix: logs list size
* fix: small issues
* feat: add list loader and fix action column size
* fix: remove unnecessary file
---------
Co-authored-by: Palash Gupta <palashgdev@gmail.com>
Co-authored-by: Yunus M <myounis.ar@live.com>
* feat: create live logs page and custom top nav
* feat: add live logs where clause
* fix: success button color
* fix: turn back color
* fix: undefined scenario
* feat: get live data
* fix: change color, change number format
* feat: add live logs list
* feat: hide view if error, clear logs
* feat: add condition for disable initial loading
* fix: double request
* fix: render id in the where clause
* fix: render where clause and live list
* fix: last log padding
* fix: list data loading
* fix: no logs text
* fix: logs list size
* fix: small issues
* feat: use prefetched query in live
* chore: useMemo is updated
* feat: add live logs list (#3341)
* feat: add live logs list
* feat: hide view if error, clear logs
* feat: add condition for disable initial loading
* fix: double request
* fix: render id in the where clause
* fix: render where clause and live list
* fix: last log padding
* fix: list data loading
* fix: no logs text
* fix: logs list size
* fix: small issues
* fix: render view with memo
---------
Co-authored-by: Palash Gupta <palashgdev@gmail.com>
* chore: alignment is updated
* fix: action column size
---------
Co-authored-by: Palash Gupta <palashgdev@gmail.com>
* feat: create live logs page and custom top nav
* fix: success button color
* fix: turn back color
* feat: add live logs where clause (#3325)
* feat: add live logs where clause
* fix: undefined scenario
* feat: get live data (#3337)
* feat: get live data
* fix: change color, change number format
* chore: useMemo is updated
* feat: add live logs list (#3341)
* feat: add live logs list
* feat: hide view if error, clear logs
* feat: add condition for disable initial loading
* fix: double request
* fix: render id in the where clause
* fix: render where clause and live list
* fix: last log padding
* fix: list data loading
* fix: no logs text
* fix: logs list size
* fix: small issues
* fix: render view with memo
---------
Co-authored-by: Palash Gupta <palashgdev@gmail.com>
---------
Co-authored-by: Palash Gupta <palashgdev@gmail.com>
---------
Co-authored-by: Palash Gupta <palashgdev@gmail.com>
* fix: build is fixed
---------
Co-authored-by: Palash Gupta <palashgdev@gmail.com>
Co-authored-by: Yunus M <myounis.ar@live.com>
* Fix tooltip link not opening in apdex tooltip modal
* chore: onClick is updated from inline to one to one
---------
Co-authored-by: Palash Gupta <palashgdev@gmail.com>
* fix: exists, nexists support for top level logs columns
* fix: dont check value for exists and nexists
* fix: exists, nexists updated for materialized columns
* fix: remove unnecesary variable
* fix: exists check updated in all places
* feat: auto provisioning of SSO users rather than needing invite link to login each user
* updating errors
Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
* fix: set IsUser: true when SSO feature is available
* fix: signoz login from IDP (#3396)
* fix: enable login from IDP with relayState set with domainName
* update comments on function
Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
* chore: added error checks to fetch domain from SAML relay state
---------
Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
---------
Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
* 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>
* fix: disable proxy buffering and cache
* fix: changed for docker swarm
* fix: nginx config updated only for live tail
* fix: corrected value of buffering
---------
Co-authored-by: Prashant Shahi <prashant@signoz.io>
* fix: [FE-3128]: Logs Explorer: Show options based on format type selected
* fix: build is fixed
---------
Co-authored-by: Palash Gupta <palashgdev@gmail.com>
* feat: introduce PreferRPM feature
Completed in logs and traces but tests of metrics are not updated
* chore: pass preferRPM feature flag rather than fn
* chore: support metrics rpm
* chore: remove step interval validation
As step interval is missing in formula queries
* chore: update failing tests
---------
Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
* fix: log details action not it
* fix: getting keys when query param redirect
* fix: getting operator
* fix: data type for not existing autocomplete value
---------
Co-authored-by: Palash Gupta <palashgdev@gmail.com>
* feat: created a component for apdex
* refactor: added get and set apDexSetting API support
* refactor: done with ApDexSetting
* feat: done with the traces graph for ApDex
* refactor: separated traces using feature flag
* refactor: restucture the component level
* feat: done with metrics ApDex application
* refactor: removed unwanted logs
* fix: some css part
* refactor: handle error state
* refactor: made use of constants and handleGraphClick for apDex
* refactor: shifted type to type.ts
* chore: css fixes
* refactor: handle error and loading state
* refactor: one on one mapping
* refactor: according to review comments
* refactor: removed unwanted color from local theme colors
* refactor: one on one mapping for queryKey
* refactor: updated css for view traces button issue
* chore: commented out the ExcludeStatusCode feature
* refactor: updated some css part of ApDexSetting popover
* test: added test case for ApDexApplication and ApDexSettings
* refactor: test cases
* refactor: review comments
* refactor: remove the checked for threshold size upto 1
* refactor: changed some text part of ApDex
* refactor: only ApDexMetrics inuse
* refactor: changes due to merge conflicts
* fix: build pipeline
* chore: change the type of the threshold
* feat: widget header as ReactNode
* chore: error for the title is updated
* refactor: widget header as Reactnode
* refactor: show tooltip when hover over the question icon
* refactor: review changes
* refactor: convert threadhold to ReactNode
* refactor: updated test cases
* refactor: move allow threshold a level up
* fix: build pipeline
* fix: input number issue for value 0
---------
Co-authored-by: Palash Gupta <palashgdev@gmail.com>
Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
* 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: create alerts method is added
* feat: method is updated for onClick
* chore: create alerts is udpated
* chore: header menu list is updated
* chore: headerMenuList is made optional
* chore: default props is updated
* chore: support for ARM in install script
* chore: latest version of docker-compose and amd/arm support
---------
Signed-off-by: Prashant Shahi <prashant@signoz.io>
* feat: done with prd full view
* refactor: updated some variable and naming convection
* feat: when click on label only select associated graph
* feat: made the table scrollable
* feat: update the table column length
* feat: save notification after saving state
* refactor: removed unwanted code
* refactor: renamed some file
* fix: linter issue
* fix: position of save button
* refactor: seperated widgetGraphComponent from gridGraphComponent
* feat: fetching the localstorage data while initial loading of graph
* fix: dependency of graphVisibilityHandler for other component
* refactor: updated the notification msg on save
* fix: linter error
* refactor: remove the update logic of graph from graph component
* refactor: created utils and move some utility code
* refactor: place the checkbox component in fullview
* refactor: updated the utils function added enun localstorage
* refactor: added enum for table columns data
* refactor: name changes to graphVisibilityStates
* refactor: shifted the type to types.ts
* refactor: sepearated the type from graph componnet
* refactor: seperated graphOptions from graph component
* refactor: updated imports
* refactor: shifted the logic to utils
* refactor: remove unused file and check for full view
* refactor: using PanelType instead of GraphType
* refactor: changed the variable name
* refactor: provided checks of useEffect
* test: added unit test case for utility function
* refactor: one on one maping of props and value
* refactor: panelTypeAndGraphManagerVisibility as a props
* refactor: remove the enforing of type in useChartMutable
* refactor: updated the test case
* refactor: moved types to types.ts files
* refactor: separated types from components
* refactor: one to one mapping and cancel feature
* refactor: remove unwanted useEffect and used eventEmitter
* fix: only open chart visibility will change issue
* refactor: removed unwanted useEffect
* refactor: resolve the hang issue for full view
* refactor: legend to checkbox connection, separated code
* refactor: updated styled component GraphContainer
* chore: removed unwanted consoles
* refactor: ux changes
* fix: eslint and updated test case
* refactor: review comments
* chore: fix types
* refactor: made utils for getIsGraphLegendToggleAvailable
* refactor: removed the ref mutation from graphPanelSwitch
* refactor: resolve the issue of chart state not getting reflect outside fullview
* refactor: common utility for toggle graphs visibility in chart
* refactor: shifted ref to perticular component level
* test: removed extra space
* chore: close on save and NaN infinity check
* refactor: added yAxisUnit to GraphManager table header
* refactor: create a function for appending yAxisUnit to table header
* fix: decimal upto 2 decimal points
---------
Co-authored-by: Vishal Sharma <makeavish786@gmail.com>
Co-authored-by: Pranay Prateek <pranay@signoz.io>
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: 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: removed unwanted interfaces and renamed files
* refactor: separated types
* chore: done with basic struction and moving up the files
* chore: moved some files to proper places
* feat: added the support for metrics in service layer
* refactor: shifted SkipOnBoardingModal logic to parent
* refactor: created object to send as an augument for getQueryRangeRequestData
* refactor: changes from columns to getColumns
* refactor: updated the utils function getServiceListFromQuery
* refactor: added memo to getQueryRangeRequestData in serive metrics application
* refactor: separated constants from ServiceMetricsQuery.ts
* refactor: separated mock data and updated test case
* refactor: added useMemo on getColumns
* refactor: made the use of useErrorNotification for show error
* refactor: handled the error case
* refactor: one on one mapping
* chore: useGetQueriesRange hooks type is updated
* refactor: review changes
* chore: update type for columnconstants
* chore: reverted back the changes lost in merge conflicts
* refactor: created a separate utils generateResizeTableColumns
* refactor: separated base config and dynamic config for table columns
* chore: fix names of variable
* refactor: separated base config to different file
---------
Co-authored-by: Vishal Sharma <makeavish786@gmail.com>
Co-authored-by: Palash Gupta <palashgdev@gmail.com>
Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
* fix: variables with multiple values are merged into one string
* fix: variables with multiple values are merged into one string
* fix: used memo
---------
Co-authored-by: Palash Gupta <palashgdev@gmail.com>
Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
* feat: show page name in document title using React Helmet
* fix: add translation support for page titles
* feat: 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: 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: removed unwanted interfaces and renamed files
* refactor: separated types
* chore: done with basic struction and moving up the files
* chore: moved some files to proper places
* feat: added the support for metrics in service layer
* refactor: shifted SkipOnBoardingModal logic to parent
* refactor: created object to send as an augument for getQueryRangeRequestData
* refactor: changes from columns to getColumns
* refactor: updated the utils function getServiceListFromQuery
* refactor: added memo to getQueryRangeRequestData in serive metrics application
* refactor: separated constants from ServiceMetricsQuery.ts
* refactor: separated mock data and updated test case
* refactor: added useMemo on getColumns
* refactor: made the use of useErrorNotification for show error
* refactor: handled the error case
* refactor: one on one mapping
* chore: useGetQueriesRange hooks type is updated
* refactor: review changes
* chore: update type for columnconstants
* chore: reverted back the changes lost in merge conflicts
---------
Co-authored-by: Vishal Sharma <makeavish786@gmail.com>
Co-authored-by: Palash Gupta <palashgdev@gmail.com>
Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
* chore: integrate pipelines API
* fix: limit support integrated in pipelines
* fix: interface to string
* fix: json parser and allow deleting all pipelines
* fix: output modified if operators are disabled
* fix: validation updated for operators
* fix: expression check added
* fix: regex expression check added
* fix: remove operator validation updated
* fix: tests updated for pipeline builder
* fix: fix error messages in http handler
* fix: dont return payload if there is an error
* fix: extracting userId from context moved to auth package
* fix: api errors moved to http handler
* fix: get version logic updated
* fix: deployment result message updated
* fix: pipeline builder edgecase fixed and tests updated
* fix: get failing postablePipeline tests to pass
---------
Co-authored-by: Vishal Sharma <makeavish786@gmail.com>
Co-authored-by: Raj <rkssisodiya@gmail.com>
* fix : Hide limit param in list view of traces #3173
* Hide Limit blue text also removed
* changes made such that LIMIT is only hidden for Traces List and not for Logs
* code refactored and filterConfigs used
* minor change
* unnecessary filter code removed
* lint issue fixed and develop branch merged
* minor change
* eslint fix
---------
Co-authored-by: Palash Gupta <palashgdev@gmail.com>
Co-authored-by: Vishal Sharma <makeavish786@gmail.com>
* 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>
* 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
* feat: react is updated from v17 to v18
* feat: antdv5 is updated (#1880)
* 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
Co-authored-by: Pranay Prateek <pranay@signoz.io>
* chore: all channel is updated move from usefetch to usequery
* fix: typescript is fixed
Co-authored-by: Pranay Prateek <pranay@signoz.io>
Co-authored-by: Ankit Nayan <ankit@signoz.io>
* add commands to install sqlite3 in Makefile.
* Add code to check if it's running on Linux System.
* Revert "Add code to check if its running on Linux"
This reverts commit 552cfb08c9.
* Revert "add commands to install sqlite3 in Makefi"
This reverts commit 781c23d12d.
* Add Docuentation to install SQLite3.
Co-authored-by: Pranay Prateek <pranay@signoz.io>
Co-authored-by: Vishal Sharma <makeavish786@gmail.com>
Co-authored-by: Prashant Shahi <prashant@signoz.io>
Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
* 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
Co-authored-by: Pranay Prateek <pranay@signoz.io>
* 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>
* fix: live tail time out is updated
* Update livetail.ts
Co-authored-by: Pranay Prateek <pranay@signoz.io>
Co-authored-by: Ankit Nayan <ankit@signoz.io>
* fix: allow multiple spaces between a filter expression
* fix: regex updated to respect spaces between a search string
Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
* Fix case sensitivity in query parsing - now the parser correctly recognize fields which contains uppercase letters
* fix: logs parser respects the case of fields
Co-authored-by: nityanandagohain <nityanandagohain@gmail.com>
Co-authored-by: Pranay Prateek <pranay@signoz.io>
Co-authored-by: Ankit Nayan <ankit@signoz.io>
* chore: introduce docker_multi_node_cluster and by default set to false
* chore(query-service): 🔧 include docker_multi_node_cluster for tests
Co-authored-by: Prashant Shahi <prashant@signoz.io>
Co-authored-by: Prashant Shahi <me@prashantshahi.dev>
Co-authored-by: Ankit Nayan <ankit@signoz.io>
* 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
* feat: usage collection updated with new schema and logic
* fix: added exporter id and common collector id
* fix: upload usage only when license is present
* fix: handle if db doesn't exists
* fix: select query updated for usage collection to support distributed table
Co-authored-by: Pranay Prateek <pranay@signoz.io>
Co-authored-by: Vishal Sharma <makeavish786@gmail.com>
Co-authored-by: Ankit Nayan <ankit@signoz.io>
* [feat] initial version for google oauth
* chore: arranged the sso packages and added prepare request for google auth
* feat: added google auth config page and backend to handle the request
* chore: code cleanup for domain SSO parsing
* Update constants.go
* chore: moved redirect sso error
* chore: lint issue fixed with domain
* chore: added tooltip for enforce sso and few changes to auth domain
* chore: moved question mark in enforce sso
* fix: resolved pr review comments
* chore: fixed type check for saml config
* fix: fixed saml config form
* chore: added util for transformed form values to samlconfig
Co-authored-by: mindhash <mindhash@mindhashs-MacBook-Pro.local>
Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
Co-authored-by: Ankit Nayan <ankit@signoz.io>
* fix: live tail is fixed
* fix: graph state is updated
* chore: step size is updated
* chore: xaxis config is updated
* chore: isDisabled state is updated for top navigation
* chore: selected interval is updated in the reducer
* fix: build is fixed
* chore: xAxis config is updated
Co-authored-by: Pranay Prateek <pranay@signoz.io>
Co-authored-by: Ankit Nayan <ankit@signoz.io>
* 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>
* feat: added ui changes to support clickhouse queries in alert builder
* chore: minor fix to alert rules ui
* feat: alert form changes: ch query support, alert type selection
* chore: resolved review comments
* chore: added list for alert type selection instead
* chore: removed hard coded color and added antd/colors
* fix: resolved some issues found during testing alerts
* fix: moved alert defaults and added default queries for logs and traces
* feat: added default queries for logs and traces to reflect ts vars
* chore: fixed px to rem
Co-authored-by: Palash Gupta <palashgdev@gmail.com>
Co-authored-by: Pranay Prateek <pranay@signoz.io>
* feat: added ch query support
* fix: added new vars to resolve alert query format issue
* fix: replaced timestamp vars in metric query range
Co-authored-by: Pranay Prateek <pranay@signoz.io>
Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
* feat: logs is updated
* chore: width:100% is removed
* chore: position of filter is updated
* chore: min time and max time are now tracked from global state
Co-authored-by: Pranay Prateek <pranay@signoz.io>
* chore: 🔥 remove docker-compose-prod.yaml as redundant and update Makefile
* chore: 🔧 scrape otel-collector internal metrics in same container and related changes
* chore: 📌 Bump version of clickhouse to 22.8.8 LTS
Signed-off-by: Prashant Shahi <prashant@signoz.io>
Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
* feat: integrate config service with query service
* feat: add tooltip checkpoint
* feat: add support for dark and light mode icons
Co-authored-by: Palash Gupta <palashgdev@gmail.com>
* chore: update the import from constant rather than static string
* chore: removed redundant div
* feat: added auto refresh component
* refactor: top nav is refactored
* externaltab-promql-to-querybuilder
* refactored the queries into separate file
* added logic for resourceattribute to tagFilter items conversion
* refactor: use useMemo
Co-authored-by: Palash Gupta <palashgdev@gmail.com>
* 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>
* feat: added patch rule api
* feat: added backend api for patching rule status
* fix: improved patchRule and also editRule
Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
* feat: added rule url to the title link in slack message
* fix: corrected duplication of code for generator url in rules engine
* fix: removed unnecessary import in rules engine
* feat: metrics builder
* feat: tag key selection
* feat: metrics builder
* poc version
* added more changes to query builder
* added types for composite queries
* (feat): added edit rules and create rules forms
* added label key value input item
* (chore): added hidden labels for labelinput
* (chore): resolved some merge conflicts from develop
* (chore): added translations
* (chore): removed some old files in metric builder
* (chore): restored some of the files from develop branch
* (chore): restored env.ts
* (fix): solved empty builder queries errors
* (fix): changed queryIndex and formulaIndex type to string|number from number
* (feat): added chart preview for alert metric ui
* (feat): added threshold in chart, translations in alert form and a few fixes
* (fix): restoring env.ts
* (fix): placed threshold on horizontal line
* fix: resolved review comments
* fix: resolved label remove issue
* fix: removed console log
* fix: resolved issue with edit rule - old state values shown after update of threshold
* fix: resolved issue with match condition dropdown in alert ui
* fix: increased size of timeframe drop down
* fix: fixed label key value field and chart auto update when eval window changes
* feat: added a link for alert name in list alerts page and source for each rule update
* fix: resolved review coments in querysection of alerts ui
* feat: adding panel user guide in alerting form
* feat: added user guide panel in the alert form
* feat: added more help icon in user guide and fixed the sizing issue
Co-authored-by: Pranshu Chittora <pranshu@signoz.io>
* fix: remove requirement of exceptionType and serviceName from errorDetail page URL
* chore: id is updated
* chore: commented code is removed
* chore: eslint error is fixed
Co-authored-by: Palash <palashgdev@gmail.com>
* chore: 🔧 otel-collector config changes
* chore: 🗑️ remove redundant users.xml
* chore: 🔧 otel-config changes
- seperate scraper job for otel-collector and otel-collector-metrcs internal metrics
- use resourcedetection only for hostmetrics
- add swarm service name and task name in resource attributes env
Signed-off-by: Prashant Shahi <prashant@signoz.io>
* added more changes to query builder
* added types for composite queries
* (feat): added edit rules and create rules forms
* (feat): added chart preview for alert metric ui
* (feat): added threshold in chart, translations in alert form and a few fixes
* feat: added a link for alert name in list alerts page and source for each rule update
Co-authored-by: Pranshu Chittora <pranshu@signoz.io>
* test: sign-up test are updated
* test: fail test of version api is added
* test: more test case over signup page is added
* test: coverage is added
* chore: auth json is updated
* test: auth token and refresh token test is updated
* 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
* 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
* feat: dashboard layout is updated
* feat: onClick is made fixed
* feat: layout is updated
* feat: layout is updated
* feat: layout is updated
* fix: memo is removed and grid layout component is refactored to use use query
* fix: saveDashboard is updated
* feat: layout is fixed
* fix: tsc error are fixed
* fix: delete widgets is updated
* fix: useMount once is added
* fix: useMount once is removed
* chore: removed the commented code
Co-authored-by: Ankit Nayan <ankit@signoz.io>
*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
* feat: new dashboard widget's option selection
* fix: overflowing legend
* feat: delete menu item is of type danger
* feat: added keyboard events onFocus and onBlur
* feat: useFetch in tag value is removed and moved to use query
* feat: useFetch in all channels is removed and moved to use query
* feat: useFetch in edit rule is removed and moved to use query
* feat: useFetch in general settings is removed and moved to use query
* feat: useFetch in all alerts is changed into use query
# This Action will scan dependency manifest files that change as part of a Pull Request, surfacing known-vulnerable versions of the packages declared or updated in the PR. Once installed, if the workflow run is marked as required, PRs introducing known-vulnerable packages will be blocked from merging.
# Public documentation: https://docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/about-dependency-review#dependency-review-enforcement
There are primarily 2 areas in which you can contribute in SigNoz
## Welcome to SigNoz Contributing section 🎉
- Frontend ( written in Typescript, React)
- Backend - ( Query Service - written in Go)
Hi there! We're thrilled that you'd like to contribute to this project, thank you for your interest. Whether it's a bug report, new feature, correction, or additional documentation, we greatly value feedback and contributions from our community.
Depending upon your area of expertise & interest, you can chose one or more to contribute. Below are detailed instructions to contribute in each area
Please read through this document before submitting any issues or pull requests to ensure we have all the necessary information to effectively respond to your bug report or contribution.
> Please note: If you want to work on an issue, please ask the maintainers to assign the issue to you before starting work on it. This would help us understand who is working on an issue and prevent duplicate work. 🙏🏻
- We accept contributions made to the [SigNoz `develop` branch]()
> If you just raise a PR, without the corresponding issue being assigned to you - it may not be accepted.
## Finding contributions to work on 💬
# Develop Frontend
Looking at the existing issues is a great way to find something to contribute on.
Also, have a look at these [good first issues label](https://github.com/SigNoz/signoz/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22) to start with.
Need to update [https://github.com/SigNoz/signoz/tree/main/frontend](https://github.com/SigNoz/signoz/tree/main/frontend)
### Contribute to Frontend with Docker installation of SigNoz
- [How to Contribute](#2-how-to-contribute-%EF%B8%8F)
- [Develop Frontend](#3-develop-frontend-)
- [Contribute to Frontend with Docker installation of SigNoz](#31-contribute-to-frontend-with-docker-installation-of-signoz)
- [Contribute to Frontend without installing SigNoz backend](#32-contribute-to-frontend-without-installing-signoz-backend)
- [Contribute to Backend (Query-Service)](#4-contribute-to-backend-query-service-)
- [To run ClickHouse setup](#41-to-run-clickhouse-setup-recommended-for-local-development)
- [Contribute to SigNoz Helm Chart](#5-contribute-to-signoz-helm-chart-)
- [To run helm chart for local development](#51-to-run-helm-chart-for-local-development)
- [Other Ways to Contribute](#other-ways-to-contribute)
-`git clone https://github.com/SigNoz/signoz.git && cd signoz`
- comment out frontend service section at `deploy/docker/clickhouse-setup/docker-compose.yaml#L59`
- run `cd deploy` to move to deploy directory
- Install signoz locally without the frontend
- Add below configuration to query-service section at `docker/clickhouse-setup/docker-compose.yaml#L36`
# 1. General Instructions 📝
```docker
## 1.1 For Creating Issue(s)
Before making any significant changes and before filing a new issue, please check [existing open](https://github.com/SigNoz/signoz/issues?q=is%3Aopen+is%3Aissue), or [recently closed](https://github.com/SigNoz/signoz/issues?q=is%3Aissue+is%3Aclosed) issues to make sure somebody else hasn't already reported the issue. Please try to include as much information as you can.
- **Requirement** - what kind of use case are you trying to solve?
- **Proposal** - what do you suggest to solve the problem or improve the existing
situation?
- Any open questions to address❓
#### If you are reporting a bug, details like these are incredibly useful:
- A reproducible test case or series of steps.
- The version of our code being used.
- Any modifications you've made relevant to the bug🐞.
- Anything unusual about your environment or deployment.
Discussing your proposed changes ahead of time will make the contribution
process smooth for everyone 🙌.
**[`^top^`](#)**
<hr>
## 1.2 For Pull Request(s)
Contributions via pull requests are much appreciated. Once the approach is agreed upon ✅, make your changes and open a Pull Request(s).
Before sending us a pull request, please ensure that,
- Fork the SigNoz repo on GitHub, clone it on your machine.
- Create a branch with your changes.
- You are working against the latest source on the `develop` branch.
- Modify the source; please focus only on the specific change you are contributing.
- Ensure local tests pass.
- Commit to your fork using clear commit messages.
- Send us a pull request, answering any default questions in the pull request interface.
- Pay attention to any automated CI failures reported in the pull request, and stay involved in the conversation
- Once you've pushed your commits to GitHub, make sure that your branch can be auto-merged (there are no merge conflicts). If not, on your computer, merge main into your branch, resolve any merge conflicts, make sure everything still runs correctly and passes all the tests, and then push up those changes.
- Once the change has been approved and merged, we will inform you in a comment.
GitHub provides additional document on [forking a repository](https://help.github.com/articles/fork-a-repo/) and
[creating a pull request](https://help.github.com/articles/creating-a-pull-request/).
**Note:** Unless your change is small, **please** consider submitting different Pull Request(s):
* 1️⃣ First PR should include the overall structure of the new component:
* Readme, configuration, interfaces or base classes, etc...
* This PR is usually trivial to review, so the size limit does not apply to
it.
* 2️⃣ Second PR should include the concrete implementation of the component. If the
size of this PR is larger than the recommended size, consider **splitting** ⚔️ it into
multiple PRs.
* If there are multiple sub-component then ideally each one should be implemented as
a **separate** pull request.
* Last PR should include changes to **any user-facing documentation.** And should include
end-to-end tests if applicable. The component must be enabled
only after sufficient testing, and there is enough confidence in the
stability and quality of the component.
You can always reach out to `ankit@signoz.io` to understand more about the repo and product. We are very responsive over email and [SLACK](https://signoz.io/slack).
### Pointers:
- If you find any **bugs** → please create an [**issue.**](https://github.com/SigNoz/signoz/issues/new?assignees=&labels=&template=bug_report.md&title=)
- If you find anything **missing** in documentation → you can create an issue with the label **`documentation`**.
- If you want to build any **new feature** → please create an [issue with the label **`enhancement`**.](https://github.com/SigNoz/signoz/issues/new?assignees=&labels=&template=feature_request.md&title=)
- If you want to **discuss** something about the product, start a new [**discussion**.](https://github.com/SigNoz/signoz/discussions)
<hr>
### Conventions to follow when submitting Commits and Pull Request(s).
We try to follow [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/), more specifically the commits and PRs **should have type specifiers** prefixed in the name. [This](https://www.conventionalcommits.org/en/v1.0.0/#specification) should give you a better idea.
e.g. If you are submitting a fix for an issue in frontend, the PR name should be prefixed with **`fix(FE):`**
- Follow [GitHub Flow](https://guides.github.com/introduction/flow/) guidelines for your contribution flows.
- Feel free to ping us on [`#contributing`](https://signoz-community.slack.com/archives/C01LWQ8KS7M) or [`#contributing-frontend`](https://signoz-community.slack.com/archives/C027134DM8B) on our slack community if you need any help on this :)
**[`^top^`](#)**
<hr>
# 2. How to Contribute 🙋🏻♂️
#### There are primarily 2 areas in which you can contribute to SigNoz
- [**Frontend**](#3-develop-frontend-) (Written in Typescript, React)
- [**Backend**](#4-contribute-to-backend-query-service-) (Query Service, written in Go)
Depending upon your area of expertise & interest, you can choose one or more to contribute. Below are detailed instructions to contribute in each area.
**Please note:** If you want to work on an issue, please ask the maintainers to assign the issue to you before starting work on it. This would help us understand who is working on an issue and prevent duplicate work. 🙏🏻
⚠️ If you just raise a PR, without the corresponding issue being assigned to you - it may not be accepted.
**[`^top^`](#)**
<hr>
# 3. Develop Frontend 🌚
**Need to Update: [https://github.com/SigNoz/signoz/tree/develop/frontend](https://github.com/SigNoz/signoz/tree/develop/frontend)**
Also, have a look at [Frontend README.md](https://github.com/SigNoz/signoz/blob/develop/frontend/README.md) sections for more info on how to setup SigNoz frontend locally (with and without Docker).
## 3.1 Contribute to Frontend with Docker installation of SigNoz
- Clone the SigNoz repository and cd into signoz directory,
```
git clone https://github.com/SigNoz/signoz.git && cd signoz
```
- Comment out `frontend` service section at [`deploy/docker/clickhouse-setup/docker-compose.yaml#L68`](https://github.com/SigNoz/signoz/blob/develop/deploy/docker/clickhouse-setup/docker-compose.yaml#L68)
- Install signoz locally **without** the frontend,
- Add / Uncomment the below configuration to query-service section at [`deploy/docker/clickhouse-setup/docker-compose.yaml#L47`](https://github.com/SigNoz/signoz/blob/develop/deploy/docker/clickhouse-setup/docker-compose.yaml#L47)
```
ports:
- "8080:8080"
```
- If you are using x86_64 processors (All Intel/AMD processors) run `sudo docker-compose -f docker/clickhouse-setup/docker-compose.yaml up -d`
- If you are on arm64 processors (Apple M1 Macbooks) run `sudo docker-compose -f docker/clickhouse-setup/docker-compose.arm.yaml up -d`
- `cd ../frontend` and change baseURL to `http://localhost:8080` in file `src/constants/env.ts`
sudo docker-compose -f docker/clickhouse-setup/docker-compose.yaml up -d
```
- `cd ../frontend` and change baseURL in file [`frontend/src/constants/env.ts#L2`](https://github.com/SigNoz/signoz/blob/develop/frontend/src/constants/env.ts#L2) and for that, you need to create a `.env` file in the `frontend` directory with the following environment variable (`FRONTEND_API_ENDPOINT`) matching your configuration.
> Notes for Maintainers/Contributors who will change Line Numbers of Frontend & Query-Section. Please Update Line Numbers in `./scripts/commentLinesForSetup.sh`
If you have backend api exposed via frontend nginx:
```
FRONTEND_API_ENDPOINT=http://localhost:3301
```
If not:
```
FRONTEND_API_ENDPOINT=http://localhost:8080
```
### Contribute to Frontend without installing SigNoz backend
- Next,
```
yarn install
yarn dev
```
If you don't want to install SigNoz backend just for doing frontend development, we can provide you with test environments which you can use as the backend. Please ping us in #contributing channel in our [slack community](https://signoz.io/slack) and we will DM you with `<testenvironmentURL>`
### Important Notes:
The Maintainers / Contributors who will change Line Numbers of `Frontend` & `Query-Section`, please update line numbers in [`/.scripts/commentLinesForSetup.sh`](https://github.com/SigNoz/signoz/blob/develop/.scripts/commentLinesForSetup.sh)
- `git clone https://github.com/SigNoz/signoz.git && cd signoz/frontend`
- Create a file `.env` with `FRONTEND_API_ENDPOINT=<testenvironmentURL>`
- `yarn install`
- `yarn dev`
**[`^top^`](#)**
**_Frontend should now be accessible at `http://localhost:3301/application`_**
## 3.2 Contribute to Frontend without installing SigNoz backend
# Contribute to Query-Service
If you don't want to install the SigNoz backend just for doing frontend development, we can provide you with test environments that you can use as the backend.
Need to update [https://github.com/SigNoz/signoz/tree/main/pkg/query-service](https://github.com/SigNoz/signoz/tree/main/pkg/query-service)
- Clone the SigNoz repository and cd into signoz/frontend directory,
```
git clone https://github.com/SigNoz/signoz.git && cd signoz/frontend
````
- Create a file `.env` in the `frontend` directory with `FRONTEND_API_ENDPOINT=<testenvironmentURL>`
- Next,
```
yarn install
yarn dev
```
### To run ClickHouse setup (recommended for local development)
Please ping us in the [`#contributing`](https://signoz-community.slack.com/archives/C01LWQ8KS7M) channel or ask `@Prashant Shahi` in our [Slack Community](https://signoz.io/slack) and we will DM you with `<testenvironmentURL>`.
- git clone https://github.com/SigNoz/signoz.git
- run `cd signoz` to move to signoz directory
- run `sudo make dev-setup` to configure local setup to run query-service
- comment out frontend service section at `docker/clickhouse-setup/docker-compose.yaml#L45`
- comment out query-service section at `docker/clickhouse-setup/docker-compose.yaml#L28`
- add below configuration to clickhouse section at `docker/clickhouse-setup/docker-compose.yaml#L6`
```docker
expose:
- 9000
ports:
- 9001:9000
**Frontend should now be accessible at** [`http://localhost:3301/services`](http://localhost:3301/services)
**[`^top^`](#)**
<hr>
# 4. Contribute to Backend (Query-Service) 🌑
**Need to Update: [https://github.com/SigNoz/signoz/tree/develop/pkg/query-service](https://github.com/SigNoz/signoz/tree/develop/pkg/query-service)**
## 4.1 Prerequisites
### 4.1.1 Install SQLite3
- Run `sqlite3` command to check if you already have SQLite3 installed on your machine.
- If not installed already, Install using below command
- on Linux
- on Debian / Ubuntu
```
sudo apt install sqlite3
```
- on CentOS / Fedora / RedHat
```
sudo yum install sqlite3
```
## 4.2 To run ClickHouse setup (recommended for local development)
- Clone the SigNoz repository and cd into signoz directory,
```
git clone https://github.com/SigNoz/signoz.git && cd signoz
```
- run `sudo make dev-setup` to configure local setup to run query-service,
- Comment out `frontend` service section at [`deploy/docker/clickhouse-setup/docker-compose.yaml#L68`](https://github.com/SigNoz/signoz/blob/develop/deploy/docker/clickhouse-setup/docker-compose.yaml#L68)
- Comment out `query-service` section at [`deploy/docker/clickhouse-setup/docker-compose.yaml#L41`,](https://github.com/SigNoz/signoz/blob/develop/deploy/docker/clickhouse-setup/docker-compose.yaml#L41)
<img width="1068" alt="Screenshot 2022-07-14 at 22 48 07" src="https://user-images.githubusercontent.com/52788043/179044151-a65ba571-db0b-4a16-b64b-ca3fadcf3af0.png">
- add below configuration to `clickhouse` section at [`deploy/docker/clickhouse-setup/docker-compose.yaml`,](https://github.com/SigNoz/signoz/blob/develop/deploy/docker/clickhouse-setup/docker-compose.yaml)
```
ports:
- 9001:9000
```
<img width="1013" alt="Screenshot 2022-07-14 at 22 50 37" src="https://user-images.githubusercontent.com/52788043/179044544-a293d3bc-4c4f-49ea-a276-505a381de67d.png">
- run `cd pkg/query-service/` to move to `query-service` directory,
- Then, you need to create a `.env` file with the following environment variable
```
SIGNOZ_LOCAL_DB_PATH="./signoz.db"
```
to set your local environment with the right `RELATIONAL_DATASOURCE_PATH` as mentioned in [`./constants/constants.go#L38`,](https://github.com/SigNoz/signoz/blob/develop/pkg/query-service/constants/constants.go#L38)
- Now, install SigNoz locally **without** the `frontend` and `query-service`,
- If you are using `x86_64` processors (All Intel/AMD processors) run `sudo make run-x86`
- If you are on `arm64` processors (Apple M1 Macs) run `sudo make run-arm`
#### Run locally,
```
- run `cd pkg/query-service/` to move to query-service directory
with ```const RELATIONAL_DATASOURCE_PATH = "./signoz.db".```
- Install signoz locally without the frontend and query-service
- If you are using x86_64 processors (All Intel/AMD processors) run `sudo make run-x86`
- If you are on arm64 processors (Apple M1 Macbooks) run `sudo make run-arm`
#### Run locally
```console
ClickHouseUrl=tcp://localhost:9001 STORAGE=clickhouse go run main.go
```
> Notes for Maintainers/Contributors who will change Line Numbers of Frontend & Query-Section. Please Update Line Numbers in `./scripts/commentLinesForSetup.sh`
**_Query Service should now be available at `http://localhost:8080`_**
#### Docker Images
The docker images of query-service is available at https://hub.docker.com/r/signoz/query-service
> If you want to see how, frontend plays with query service, you can run frontend also in you local env with the baseURL changed to `http://localhost:8080` in file `src/constants/env.ts` as the query-service is now running at port `8080`
```
docker pull signoz/query-service
```
```
docker pull signoz/query-service:latest
```
```
docker pull signoz/query-service:develop
```
### Important Note:
The Maintainers / Contributors who will change Line Numbers of `Frontend` & `Query-Section`, please update line numbers in [`/.scripts/commentLinesForSetup.sh`](https://github.com/SigNoz/signoz/blob/develop/.scripts/commentLinesForSetup.sh)
**Query Service should now be available at** [`http://localhost:8080`](http://localhost:8080)
If you want to see how the frontend plays with query service, you can run the frontend also in your local env with the baseURL changed to `http://localhost:8080` in file [`frontend/src/constants/env.ts`](https://github.com/SigNoz/signoz/blob/develop/frontend/src/constants/env.ts) as the `query-service` is now running at port `8080`.
---
<!-- Instead of configuring a local setup, you can also use [Gitpod](https://www.gitpod.io/), a VSCode-based Web IDE.
Click the button below. A workspace with all required environments will be created.
[](https://gitpod.io/#https://github.com/SigNoz/signoz)
> To use it on your forked repo, edit the 'Open in Gitpod' button url to `https://gitpod.io/#https://github.com/<your-github-username>/signoz` -->
> To use it on your forked repo, edit the 'Open in Gitpod' button URL to `https://gitpod.io/#https://github.com/<your-github-username>/signoz` -->
# Contribute to SigNoz Helm Chart
**[`^top^`](#)**
<hr>
Need to update [https://github.com/SigNoz/charts](https://github.com/SigNoz/charts).
# 5. Contribute to SigNoz Helm Chart 📊
### To run helm chart for local development
**Need to Update: [https://github.com/SigNoz/charts](https://github.com/SigNoz/charts).**
- run `git clone https://github.com/SigNoz/charts.git` followed by `cd charts`
- it is recommended to use lightweight kubernetes (k8s) cluster for local development:
## 5.1 To run helm chart for local development
- Clone the SigNoz repository and cd into charts directory,
```
git clone https://github.com/SigNoz/charts.git && cd charts
```
- It is recommended to use lightweight kubernetes (k8s) cluster for local development:
You can always reach out to `ankit@signoz.io` to understand more about the repo and product. We are very responsive over email and [slack](https://signoz.io/slack).
There are many other ways to get involved with the community and to participate in this project:
- If you find any bugs, please create an issue
- If you find anything missing in documentation, you can create an issue with label **documentation**
- If you want to build any new feature, please create an issue with label `enhancement`
- If you want to discuss something about the product, start a new [discussion](https://github.com/SigNoz/signoz/discussions)
- Use the product, submitting GitHub issues when a problem is found.
- Help code review pull requests and participate in issue threads.
- Submit a new feature request as an issue.
- Help answer questions on forums such as Stack Overflow and [SigNoz Community Slack Channel](https://signoz.io/slack).
- Tell others about the project on Twitter, your blog, etc.
### Conventions to follow when submitting commits, PRs
1. We try to follow https://www.conventionalcommits.org/en/v1.0.0/
Again, Feel free to ping us on [`#contributing`](https://signoz-community.slack.com/archives/C01LWQ8KS7M) or [`#contributing-frontend`](https://signoz-community.slack.com/archives/C027134DM8B) on our slack community if you need any help on this :)
More specifically the commits and PRs should have type specifiers prefixed in the name. [This](https://www.conventionalcommits.org/en/v1.0.0/#specification) should give you a better idea.
e.g. If you are submitting a fix for an issue in frontend - PR name should be prefixed with `fix(FE):`
2. Follow [GitHub Flow](https://guides.github.com/introduction/flow/) guidelines for your contribution flows
3. Feel free to ping us on `#contributing` or `#contributing-frontend` on our slack community if you need any help on this :)
Portions of this software are licensed as follows:
* All content that resides under the "ee/" directory of this repository, if that directory exists, is licensed under the license defined in "ee/LICENSE".
* All third party components incorporated into the SigNoz Software are licensed under the original license provided by the owner of the applicable component.
* Content outside of the above mentioned directories or restrictions above is available under the "MIT Expat" license as defined below.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
<palign="center">Überwache deine Anwendungen und behebe Probleme in deinen bereitgestellten Anwendungen. SigNoz ist eine Open Source Alternative zu DataDog, New Relic, etc.</p>
SigNoz hilft Entwicklern, Anwendungen zu überwachen und Probleme in ihren bereitgestellten Anwendungen zu beheben. SigNoz benutzt verteilte Einzelschritt-Fehlersuchen, um Einblick in deinen Software-Stack zu bekommen.
SigNoz hilft Entwicklern, Anwendungen zu überwachen und Probleme in ihren bereitgestellten Anwendungen zu beheben. Mit SigNoz können Sie Folgendes tun:
👉 Du kannst Werte wie die P99-Latenz und die Fehler Häufigkeit von deinen Services, externen API Aufrufen und einzelnen Endpunkten sehen.
👉 Visualisieren Sie Metriken, Traces und Logs in einer einzigen Oberfläche.
👉 Du kannst die Ursache des Problems finden, indem du zu dem Einzelschritt gehst, der das Problem verursacht und dir detaillierte Flamegraphs von einzelnen Abfragefehlersuchen anzeigen lassen.
👉 Sie können Metriken wie die p99-Latenz, Fehlerquoten für Ihre Dienste, externe API-Aufrufe und individuelle Endpunkte anzeigen.
👉 Erstelle Aggregate auf Basis von Fehlersuche Daten, um geschäftsrelevante Metriken zu erhalten.
👉 Sie können die Ursache des Problems ermitteln, indem Sie zu den genauen Traces gehen, die das Problem verursachen, und detaillierte Flammenbilder einzelner Anfragetraces anzeigen.
-Übersichtsmetriken deiner Anwendung wie RPS, 50tes/90tes/99tes Quantil Latenzen und Fehler Häufigkeiten.
- Übersicht der langsamsten Endpunkte deiner Anwendung.
-Sieh dir die genaue Einzelschritt-Fehlersuche deiner Abfrage an, um Fehler in nachgelagerten Diensten, langsamen Datenbank Abfragen und Aufrufen von Drittanbieter Diensten wie Zahlungsportalen, etc. zu finden.
-Filtere Einzelschritt-Fehlersuchen nach Dienstname, Latenz, Fehler, Stichworten/ Anmerkungen.
- Führe Aggregate auf Basis von Einzelschritt-Fehlersuche Daten (Ereignisse/Abstände) aus, um geschäftsrelevante Metriken zu erhalten. Du kannst dir z. B. die Fehlerrate und 99tes Quantil Latenz von `customer_type: gold`, `deployment_version: v2` oder `external_call: paypal` ausgeben lassen.
-Einheitliche Benutzeroberfläche für Metriken und Einzelschritt-Fehlersuchen. Du musst nicht zwischen Prometheus und Jaeger hin und her wechseln, um Fehler zu beheben.
-Einheitliche Benutzeroberfläche für Metriken, Traces und Logs. Keine Notwendigkeit, zwischen Prometheus und Jaeger zu wechseln, um Probleme zu debuggen oder ein separates Log-Tool wie Elastic neben Ihrer Metriken- und Traces-Stack zu verwenden.
- Überblick über Anwendungsmetriken wie RPS, Latenzzeiten des 50tes/90tes/99tes Perzentils und Fehlerquoten.
-Langsamste Endpunkte in Ihrer Anwendung.
-Zeigen Sie genaue Anfragetraces an, um Probleme in nachgelagerten Diensten, langsamen Datenbankabfragen oder Aufrufen von Drittanbieterdiensten wie Zahlungsgateways zu identifizieren.
- Filtern Sie Traces nach Dienstname, Operation, Latenz, Fehler, Tags/Annotationen.
-Führen Sie Aggregationen auf Trace-Daten (Ereignisse/Spans) durch, um geschäftsrelevante Metriken zu erhalten. Beispielsweise können Sie die Fehlerquote und die 99tes Perzentillatenz für `customer_type: gold` oder `deployment_version: v2` oder `external_call: paypal` erhalten.
- Native Unterstützung für OpenTelemetry-Logs, erweiterten Log-Abfrage-Builder und automatische Log-Sammlung aus dem Kubernetes-Cluster.
Als Entwickler fanden wir es anstrengend, uns für jede kleine Funktion, die wir haben wollten, auf Closed Source SaaS Anbieter verlassen zu müssen. Closed Source Anbieter überraschen ihre Kunden zum Monatsende oft mit hohen Rechnungen, die keine Transparenz bzgl. der Kostenaufteilung bieten.
@@ -66,45 +97,43 @@ Wir wollten eine selbst gehostete, Open Source Variante von Lösungen wie DataDo
Open Source gibt dir außerdem die totale Kontrolle über deine Konfiguration, Stichprobenentnahme und Betriebszeit. Du kannst des Weiteren neue Module auf Basis von SigNoz bauen, die erweiterte, geschäftsspezifische Funktionen anbieten.
### Unterstützte Programmiersprachen:
### Languages supported:
Wir unterstützen [OpenTelemetry](https://opentelemetry.io) als die Software Library, die du nutzen kannst um deine Anwendungen auszuführen. Jedes Framework und jede Sprache die von OpenTelemetry unterstützt wird, wird auch von SigNoz unterstützt. Einige der unterstützten, größeren Programmiersprachen sind:
Wir unterstützen [OpenTelemetry](https://opentelemetry.io) als Bibliothek, mit der Sie Ihre Anwendungen instrumentieren können. Daher wird jedes von OpenTelemetry unterstützte Framework und jede Sprache auch von SignNoz unterstützt. Einige der wichtigsten unterstützten Sprachen sind:
- Java
- Python
- NodeJS
- Go
- PHP
- .NET
- Ruby
- Elixir
- Rust
Hier findest du die vollständige Liste von unterstützten Programmiersprachen - https://opentelemetry.io/docs/
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.
<p>  </p>
### Bereitstellung mit Kubernetes und Helm
### Deploy in Kubernetes using Helm
Bitte folge den [hier](https://signoz.io/docs/deployment/helm_chart) aufgelisteten Schritten, um deine Anwendung mit Helm Charts bereitzustellen.
Prometheus ist gut, falls du dich nur für Metriken interessierst. Wenn du eine nahtlose Integration von Metriken und Einzelschritt-Fehlersuchen haben möchtest, ist die Kombination aus Prometheus und Jaeger nicht das Richtige für dich.
@@ -112,49 +141,76 @@ Unser Ziel ist es, eine integrierte Benutzeroberfläche aus Metriken und Einzels
<p>  </p>
### SigNoz vs. Jaeger
### SigNoz vs Jaeger
Jaeger kümmert sich nur um verteilte Einzelschritt-Fehlersuche. SigNoz erstellt sowohl Metriken als auch Einzelschritt-Fehlersuche, daneben haben wir auch Protokoll Verwaltung auf unserem Plan.
Außerdem hat SigNoz noch mehr spezielle Funktionen im Vergleich zu Jaeger:
- Jaeger UI zeigt keine Metriken für Einzelschritt-Fehlersuchen oder für gefilterte Einzelschritt-Fehlersuchen an
- Jaeger erstellt keine Aggregate für gefilterte Einzelschritt-Fehlersuchen, z. B. die P99 Latenz von Abfragen mit dem Tag - customer_type='premium', was hingegen mit SigNoz leicht umsetzbar ist.
- Jaeger UI zeigt keine Metriken für Einzelschritt-Fehlersuchen oder für gefilterte Einzelschritt-Fehlersuchen an.
- Jaeger erstellt keine Aggregate für gefilterte Einzelschritt-Fehlersuchen, z. B. die P99 Latenz von Abfragen mit dem Tag `customer_type=premium`, was hingegen mit SigNoz leicht umsetzbar ist.
<p>  </p>
### SigNoz vs Elastic
- Die Verwaltung von SigNoz-Protokollen basiert auf 'ClickHouse', einem spaltenbasierten OLAP-Datenspeicher, der aggregierte Protokollanalyseabfragen wesentlich effizienter macht.
- 50 % geringerer Ressourcenbedarf im Vergleich zu Elastic während der Aufnahme.
Wir haben Benchmarks veröffentlicht, die Elastic mit SignNoz vergleichen. Schauen Sie es sich [hier](https://signoz.io/blog/logs-performance-benchmark/?utm_source=github-readme&utm_medium=logs-benchmark)
<p>  </p>
### SigNoz vs Loki
- SigNoz unterstützt Aggregationen von Daten mit hoher Kardinalität über ein großes Volumen, Loki hingegen nicht.
- SigNoz unterstützt Indizes über Daten mit hoher Kardinalität und hat keine Beschränkungen hinsichtlich der Anzahl der Indizes, während Loki maximale Streams erreicht, wenn ein paar Indizes hinzugefügt werden.
- Das Durchsuchen großer Datenmengen ist in Loki im Vergleich zu SigNoz schwierig und langsam.
Wir haben Benchmarks veröffentlicht, die Loki mit SigNoz vergleichen. Schauen Sie es sich [hier](https://signoz.io/blog/logs-performance-benchmark/?utm_source=github-readme&utm_medium=logs-benchmark)
Wir ❤️ Beiträge zum Projekt, egal ob große oder kleine. Bitte lies dir zuerst die [CONTRIBUTING.md](CONTRIBUTING.md), durch, bevor du anfängst, Beiträge zu SigNoz zu machen.
Du bist dir nicht sicher, wie du anfangen sollst? Schreib uns einfach auf dem #contributing Kanal in unserer [slack community](https://signoz.io/slack)
Wir ❤️ Beiträge zum Projekt, egal ob große oder kleine. Bitte lies dir zuerst die [CONTRIBUTING.md](CONTRIBUTING.md) durch, bevor du anfängst, Beiträge zu SigNoz zu machen.
### Unsere Projektbetreuer
Du bist dir nicht sicher, wie du anfangen sollst? Schreib uns einfach auf dem `#contributing` Kanal in unserer [Slack Community](https://signoz.io/slack).
Du findest unsere Dokumentation unter https://signoz.io/docs/. Falls etwas unverständlich ist oder fehlt, öffne gerne ein Github Issue mit dem Label `documentation` oder schreib uns über den Community Slack Channel.
Werde Teil der [Slack Community](https://signoz.io/slack) um mehr über verteilte Einzelschritt-Fehlersuche, Messung von Systemzuständen oder SigNoz zu erfahren und sich mit anderen Nutzern und Mitwirkenden in Verbindung zu setzen.
Werde Teil der [slack community](https://signoz.io/slack) um mehr über verteilte Einzelschritt-Fehlersuche, Messung von Systemzuständen oder SigNoz zu erfahren und sich mit anderen Nutzern und Mitwirkenden in Verbindung zu setzen.
Falls du irgendwelche Ideen, Fragen oder Feedback hast, kannst du sie gerne über unsere [Github Discussions](https://github.com/SigNoz/signoz/discussions) mit uns teilen.
Wie immer, danke an unsere großartigen Unterstützer!
Wie immer, Dank an unsere großartigen Mitwirkenden!
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
👉 You can see metrics like p99 latency, error rates for your services, external API calls and individual end points.
@@ -32,16 +33,43 @@ SigNoz helps developers monitor applications and troubleshoot problems in their
👉 Run aggregates on trace data to get business relevant metrics
👉 Filter and query logs, build dashboards and alerts based on attributes in logs
👉 Record exceptions automatically in Python, Java, Ruby, and Javascript
- Unified UI for metrics, traces and logs. No need to switch from Prometheus to Jaeger to debug issues, or use a logs tool like Elastic separate from your metrics and traces stack.
- Application overview metrics like RPS, 50th/90th/99th Percentile latencies, and Error Rate
- Slowest endpoints in your application
- 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`
-Unified UI for metrics and traces. No need to switch from Prometheus to Jaeger to debug issues.
-Native support for OpenTelemetry Logs, advanced log query builder, and automatic log collection from k8s cluster
Prometheus is good if you want to do just metrics. But if you want to have a seamless experience between metrics and traces, then current experience of stitching together Prometheus & Jaeger is not great.
Prometheus is good if you want to do just metrics. But if you want to have a seamless experience between metrics and traces, then current experience of stitching together Prometheus & Jaeger is not great.
Our goal is to provide an integrated UI between metrics & traces - similar to what SaaS vendors like Datadog provides - and give advanced filtering and aggregation over traces, something which Jaeger currently lack.
@@ -120,27 +152,63 @@ Our goal is to provide an integrated UI between metrics & traces - similar to wh
### SigNoz vs Jaeger
Jaeger only does distributed tracing. SigNoz does both metrics and traces, and we also have log management in our roadmap.
Jaeger only does distributed tracing. SigNoz supports metrics, traces and logs - all the 3 pillars of observability.
Moreover, SigNoz has few more advanced features wrt Jaeger:
- Jaegar UI doesn’t show any metrics on traces or on filtered traces
- Jaeger can’t get aggregates on filtered traces. For example, p99 latency of requests which have tag - customer_type='premium'. This can be done easily on SigNoz
<p>  </p>
### SigNoz vs Elastic
- 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
- SigNoz supports aggregations on high-cardinality data over a huge volume while loki doesn’t.
- 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)
SigNoz is looking forward to working with security researchers across the world to keep SigNoz and our users safe. If you have found an issue in our systems/applications, please reach out to us.
## Supported Versions
We always recommend using the latest version of SigNoz to ensure you get all security updates
## Reporting a Vulnerability
If you believe you have found a security vulnerability within SigNoz, please let us know right away. We'll try and fix the problem as soon as possible.
**Do not report vulnerabilities using public GitHub issues**. Instead, email <security@signoz.io> with a detailed account of the issue. Please submit one issue per email, this helps us triage vulnerabilities.
Once we've received your email we'll keep you updated as we fix the vulnerability.
## Thanks
Thank you for keeping SigNoz and our users safe. 🙇
# 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"++++++++++++++++++++++++++++++++++++++++"
@@ -512,17 +534,15 @@ else
echo""
echo -e "🟢 Your frontend is running on http://localhost:3301"
echo""
echo"ℹ️ By default, retention period is set to 15 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"
if is_arm64;then
echo"ℹ️ To bring down SigNoz and clean volumes : $sudo_cmd docker-compose -f ./docker/clickhouse-setup/docker-compose.arm.yaml down -v"
else
echo"ℹ️ To bring down SigNoz and clean volumes : $sudo_cmd docker-compose -f ./docker/clickhouse-setup/docker-compose.yaml down -v"
fi
echo"ℹ️ To bring down SigNoz and clean volumes : $sudo_cmd docker-compose -f ./docker/clickhouse-setup/docker-compose.yaml down -v"
zap.L().Error("[receiveGoogleAuth] sso requested but feature unavailable in org domain")
http.Redirect(w,r,fmt.Sprintf("%s?ssoerror=%s",redirectUri,"feature unavailable, please upgrade your billing plan to access this feature"),http.StatusMovedPermanently)
return
}
q:=r.URL.Query()
iferrType:=q.Get("error");errType!=""{
zap.L().Error("[receiveGoogleAuth] failed to login with google auth",zap.String("error",errType),zap.String("error_description",q.Get("error_description")))
http.Redirect(w,r,fmt.Sprintf("%s?ssoerror=%s",redirectUri,"failed to login through SSO "),http.StatusMovedPermanently)
return
}
relayState:=q.Get("state")
zap.L().Debug("[receiveGoogleAuth] relay state received",zap.String("state",relayState))
parsedState,err:=url.Parse(relayState)
iferr!=nil||relayState==""{
zap.L().Error("[receiveGoogleAuth] failed to process response - invalid response from IDP",zap.Error(err),zap.Any("request",r))
handleSsoError(w,r,redirectUri)
return
}
// upgrade redirect url from the relay state for better accuracy
// this is the source url that initiated the login request
redirectUri:=constants.GetDefaultSiteURL()
ctx:=context.Background()
if!ah.CheckFeature(model.SSO){
zap.L().Error("[receiveSAML] sso requested but feature unavailable in org domain")
http.Redirect(w,r,fmt.Sprintf("%s?ssoerror=%s",redirectUri,"feature unavailable, please upgrade your billing plan to access this feature"),http.StatusMovedPermanently)
return
}
err:=r.ParseForm()
iferr!=nil{
zap.L().Error("[receiveSAML] failed to process response - invalid response from IDP",zap.Error(err),zap.Any("request",r))
handleSsoError(w,r,redirectUri)
return
}
// the relay state is sent when a login request is submitted to
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.