* feat: use the license v2 key to fill licenses v3 on startup
* chore: make the init only if the licenses v2 is present
* chore: address review comments
* feat: add channel creation option and auto-refresh channels list on dropdown open
* chore: move inline styles to style.ts
* fix: show the prompt to ask admin if the user doesn't have permissions
* fix: display create channel option only if the user has permission
* fix: prevent repeated new alert event logs + log new channel option inside dropdown
* feat: support for new enrichment logic in traces
* fix: default test added
* fix: update func name in links
* Update pkg/query-service/utils/logs_test.go
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
---------
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* feat: support for window based pagination in new trace v4
* fix: update pagination logic
* fix: update comment
* fix: substract correct length
* fix: revert changes
* fix: add tests for querier
* fix: rename matcher
* fix: handle offset inmemory for list queries in traces
* fix: correct var name
* fix: add max pagination limit for traces
* feat: trace V4 QB
* fix: update get column name and remove id
* fix: handle contains and update tests
* fix: remove unwanted step interval calculation
* fix: add test cases
* fix: add tests for static columns in QB
* fix: add more order by tests
* fix: update order by logic
* feat: setup for licenses v3 integration
* feat: added some more logic
* feat: validator changes
* chore: added a couple of todos
* feat: added config parameter for licenses v3 and the boot option
* feat: some typo fix
* feat: added refresh licenses handler
* feat: handle the start manager license activation
* chore: text updates
* feat: added list licenses call
* chore: refactor the entire code to cleanup interfaces
* fix: nil pointer error
* chore: some minor edits
* feat: model changes
* feat: model changes
* fix: utilise factory pattern
* feat: added default basic plan
* chore: added test cases for new license function
* feat: added more test cases
* chore: make the licenses id not null
* feat: cosmetic changes
* feat: cosmetic changes
* feat: update zeus URL
* chore: license testing fixes
* feat: added license status and category handling for query-service
* chore: added v3 support in v2 endpoint
* chore: http response codes and some code cleanup
* chore: added detailed test cases
* chore: address review comments
* chore: some misc cleanup
* feat: alert rename interaction
* feat: add support for enter and escape shortcuts to submit and cancel rename
* chore: add missing alert field
* chore: update the style similar to dashboard rename
* refactor: remove buttonProps
* chore: add missing alert property to fix the build
---------
Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
* feat: added metric page in messaging queues
* feat: added misc fixes
* feat: removed a class name from mqcards
* feat: added lightMode styles for kafka 2.0 (#6400)
* feat: resolved comments and used strings
* fix: added onboarding setup for producer/consumer for Messaging queues
* fix: polled onboarding status api
* feat: added onboarding status api with useQueury functions and updated endpoints
* feat: added onboarding status api util for attribute data
* feat: refactoring and url query changes
* feat: changed start and end time to nanosecond for api payload
* feat: added comment description
* fix: fixed the step interval which was being perculated to list view
* fix: fixed the step interval which was being perculated to list view
* fix: fixed the step interval which was being perculated to list view
* fix: fixed the step interval which was being perculated to list view
* fix: fixed the step interval which was being perculated to list view
* fix: fixed the step interval which was being perculated to list view
* chore: bump signoz-otel-collector version (#6290)
* Chore: bump signoz otel collector dependency to 0.111.5 (#6302)
* chore: bump signoz-otel-collector dependency version to 0.111.5
* chore: logs filter suggestions: update import for ResourceHierarchy from signoz-otel-collector
* fix: fixed the step interval which was being perculated to list view
---------
Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
Co-authored-by: Raj Kamal Singh <1133322+raj-k-singh@users.noreply.github.com>
* chore: bump signoz-otel-collector dependency version to 0.111.5
* chore: logs filter suggestions: update import for ResourceHierarchy from signoz-otel-collector
* chore: add test validating pipe char in pipeline alias doesnt break collector config
* fix: pipelines collector conf: ensure bad names are not generated
* chore: upgrade signoz-otel-collector dependencies to v0.111.2
* chore: update references to otel-collector types in collector simulator
* chore: escape '$' as '$$$' and not '$$' in generated pipeline collector config
* chore: update go.sum entry for logstransformprocessor
* chore: some more go.sum updates to get build working
---------
Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
* feat: tooltip plugin to show series data in tooltip
* feat: send anomaly function as last function
* feat: default z_score_threshold to 3
* fix: anomaly function not applied on initial load
* feat: maintain select alert type on reload
* feat: maintain select alert type on reload
* chore: update events to handle anomaly alert interactions
* fix: removed selectedValue from exported and copied dashboard json
* fix: added uuid validation to not expect empty uuid
* fix: removed uuid from export and copied dashboard json
* fix: resolved comment and removed uuid when empty
* fix: renamed function
* fix: fixed threshold for columns with units
* fix: added interunit and category conversion for handling threshold across different unit types
* fix: added invalid comparison text and removed unsupported unit categories
* fix: cleanup and multiple threshold and state change handling
* fix: restrict category select to only columnUnit group
* fix: restricted column name from threshold option
* fix: removed console log
* fix: resolved comments and some refactoring
* fix: resolved comments and some refactoring
* fix: flicker in logs explorer page
* fix: added inline code comments
* fix: edit rules css should be scoped inside the container
* fix: add explicit space after adding key and operators to help users type and create the tag
* fix: do not wait for api to complete for the user to enter the query
---------
Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
* chore: change the log background to same as severity text with some opacity
* chore: make the log background changes for column renderer
* chore: remove the backdrop mask from logs details drawer
* chore: fix tests
* chore: add test reproducing bad config generation when first pipeline op is disabled
* fix: logs pipelines: set router output to first enabled operator
* fix(query): #5861 Changes query which improves performance
* fix(test): fixed all the build test
* fix(test): fixed all the build test
* fix(test): fixed all the build test
* fix(test): fixed all the build test
* fix(test): fixed all the build test
* fix(test): fixed all the build test
* fix: enrich attributes regardless if it is materialized
* feat: take care of same key name with different type and datatype
* fix: makeLinks updated with new logic for logs
* fix: clean up PrepareFilters and make it generic
* feat: added info funct for panels in dashaboard layout for showing description
* feat: position description info next to title
* feat: replaced error info icon
* fix: hide PromQL from table panel type
* fix: handled switch back to query tab if promql was selected earlier
* fix: made a constant for panel-type to query-type
* feat: build client side QB search
* feat: query builder light mode support + overall UI improvements
* fix: preserve the alert rule labels in context
* feat: get labels and all possible values from /timeline API
* chore: remove unnecessary dropdownRender and optional fields from AttributeKey
* chore: merge the styles of .tag
* chore: use the correct type for attributeKeys
* chore: use the correct values for alert rule state in the context
I preserved the existing interfaces, so:
`docker compose -f docker/clickhouse-setup/docker-compose.yaml up -d`, would run the same set of services (with the testing app).
The interface that was added is:
`docker compose -f docker/clickhouse-setup/docker-compose-minimal.yaml up -d`, which won't run testing app.
* feat: add drag support to alert history horizontal graph
* chore: use startTimestamp and endTimestamp
* fix: fix the issue of alert history breaking on navigating back from selected time range
* fix: added custom breakdown to handle billing graph issue
* chore: remove console statement
* chore: added comment for current implementation of adding next day details in breakdown
* feat: add expand/collapse button to the top in trace details
* fix: make the trace details collapsed sidebar match the design
* fix: failing test by modifying the expand button class name
* fix: restricted column long value to 3 line and line clamped
* fix: added tooltip prop as prop for generic component and passed style from consumer
* fix: comment resolved
* fix: refactored styles
* fix: updated snapshot
* fix: removed console log
* style: enhance FAQ container styling and adjust layout for customer stories
fixed the button casing
faq layout shift issue due to parent flex centered
* style: add dark theme support to WorkspaceLocked styles
* refactor: moved inline styles to class
* feat: added blur event to having input in query section
* feat: added a error message for incomplete having clause and improved handleBlur
* feat: added focus event to remove error message
---------
Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
* chore: upgrade signoz-otel-collector dependency to v0.102.10
* feat: first stab at ranking resource attribs higher
* chore: add test todo for validating resource attribs get ranked higher in logs filter suggestions
* chore: add test validating higher ranking for special resource attribs
* chore: some cleanup
* chore: some more cleanup
#### Summary
- update all docker compose YAMLs to use new logs schema
- enable `use_new_schema ` flag for clickhouselogsexporter in otel-collector config YAMLs
- remove prefer delta from docker-compose YAMLs
---------
Signed-off-by: Prashant Shahi <prashant@signoz.io>
* feat: added new tab for infra metrics in logs detailed page
* feat: added yaxis unit for the charts
* chore: cleanup query_range params
* fix: clusterName, podName variables not working
* feat: added skeleton for each charts in infra metrics tab
* change card height to 300px
* fix: updated the test cases
* feat: added new sub-tabs node and pod for infra metrics tab
* feat: added new components for node and pod metrics
* feat: added card titles for host metrics and handled empty state
* fix: updated the constant for host name
* feat: added vertical dotted line to all panels and updated y axis units for all panels
* feat: removed other panel types other than graph from host metrics query payload
* fix: updated the query payload for node metrics
* feat: moved the label of vertical dotted line to top
* feat: added console statement to check query payload
* fix: added pod name instead of node name in pod query payload
* fix: added key as pod name instead of node name in file system usage
* fix: updated query payload for file system usage in pod metrics and removed label from dotted line
* fix: updated the y axis units for network io
* fix: custom date time issue while plotting the graph
* feat: compare end time and current time update the end time accordingly
* feat: added the start and end time in query payloads
* refactor: removed the comments and unused variables
* chore: added a todo to make common component for sub-tabs
* fix: addressed review comments
---------
Co-authored-by: Ankit Nayan <ankit@signoz.io>
* fix: tlemetry for dashboard/alerts/views using contains on attributes
* fix: update how telemetry is collected for logs
* fix: revert constands
* fix: check assertion for operator
* feat: added global search on table panel
* feat: added global search on table panel
* feat: added global search conditionally and with new design
* feat: removed state from datasource
* feat: added global search in full view
* feat: added lightMode styles
* feat: added test cases for querytable and widgetHeader - global search
* fix: added time range key for query and local storage handling
* chore: fix jest test cases
* fix: send single element array for only variable option as well
* fix: intermediate stale data should not be shown
* feat: add units for pie chart
* chore: set the default to none in case no unit present
* chore: rename the y axis unit to unit
---------
Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
* feat: logsV4 initial refactoring
* feat: filter_query builder with tests added
* feat: all functions of v4 refactored
* fix: tests fixed
* feat: logs list API, logic update for better perf
* feat: integrate v4 qb
* fix: pass flag
* fix: update select for table panel
* fix: tests updated with better examples of limit and group by
* fix: resource filter support in live tail
* fix: v4 livetail api
* fix: changes for casting pointer value
* fix: reader options updated
* feat: cleanup and use flag
* feat: restrict new list api to single query
* fix: move getTsRanges to utils
* fix: address pr comments
* feat: initial setup for group by severity logs explorer page
* chore: reduce the height of the histogram
* chore: pr cleanup
* chore: minor color update
* chore: clean the PR
* chore: clean the PR
* chore: better base handling
* fix: append query names to the legends in case of multiple queries
* feat: make the changes only for list view and add back legends
* feat: logsV4 initial refactoring
* feat: filter_query builder with tests added
* feat: all functions of v4 refactored
* fix: tests fixed
* feat: logs list API, logic update for better perf
* fix: update select for table panel
* fix: tests updated with better examples of limit and group by
* fix: resource filter support in live tail
* feat: cleanup and use flag
* feat: restrict new list api to single query
* fix: move getTsRanges to utils
* feat: logsV4 initial refactoring
* feat: filter_query builder with tests added
* feat: all functions of v4 refactored
* fix: tests fixed
* fix: update select for table panel
* fix: tests updated with better examples of limit and group by
* fix: resource filter support in live tail
---------
Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
* feat: add resource_deployment_environment as fast filter in traces page
* chore: directly use deployment.environment, rather than converting resource_deployment_environment
* chore: make environment filter expanded by default
* chore: add deployment.environment to defaultOpenSections to pass the test
---------
Co-authored-by: Ankit Nayan <ankit@signoz.io>
* chore: put together helper for fetching values for multiple attributes
* chore: poc: use helper for filter suggestions
* chore: add a working impl for getting attrib values for multiple attributes
* chore: start updating integration test to account for new approach for getting log attrib values
* chore: use a global zap logger in filter suggestion tests
* chore: fix attrib values clickhouse query expectation
* chore: only query values for actual attributes when generating example queries
* chore: update clickhouse-go-mock
* chore: cleanup: separate params for attributesLimit and examplesLimit for filter suggestions
* chore: some test cleanup
* chore: some more cleanup
* chore: some more cleanup
---------
Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
* refactor(alert timeline): update TopContributorsCard and Table styles
- Update hover styles for collapsed section rows in TopContributorsCard
- Update text and icon colors on hover in TopContributorsCard
- Remove unnecessary styles for value column in Table
- Update font size and alignment for table headers in Table
- Update font size and alignment for created at column in Table
- Add actions column with ellipsis button in Table
* feat(alert history styles): update alert popover and top contributors card styles
* feat: add view templates option to dashboard menu
* feat: increase dropdown overlay width
Set the dropdown overlay width to 200px to provide breathing space for the dropdown button.
Added flex to wrap the dropdown button to create space between the right icon and the left elements.
* feat(paywall blocker): improvements for trial end blocker screen
- added new components locally for rendering static contents
- fixed SCSS code for better readablity
- seperated data to specific file
- added alert info style for the non admin users message
* chore: fixed few conditions
* feat(paywall title): added contact us to modal title
* feat: non admin users communication styles
* chore: added useState for the sidebar collapse state to be false
* test(WorkspaceLocked): update Jest test to sync with recent UX copy changes
* feat(workspaceLocked): added locale
added English and English-GB translations for workspace locked messages
* feat: reverted the translation for and sidebar collapse fix
- I have removed the scope for unitest having locale support
- remove the useEffect way to set sidebar collapse, instead added it in app layout
- removed the opacity effect on tabs
* refactor(workspaceLocked): refactor appLayout component to simplify the isWorkspaceLocked function
* refactor(workspaceLocked): simplify isWorkspaceLocked by converting it to a constant expression
* refactor(workspaceLocked): refactor modal classname and variable
---------
Co-authored-by: Pranay Prateek <pranay@signoz.io>
* chore: calculate user count dynamically and set user role in identity event
* chore: move to callbacks
---------
Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
* fix: added start and end time info text to educate user better around the schedule timelines
* fix: changed the start and endtime info text
* fix: changed the start and endtime info text
* fix: comment resolved
* feat: show rps message only if user is on trail and trail is not converted to sub
* feat: show rps message only if user is on trail and trail is not converted to sub
* feat: logs quick filter
* feat: added open button in the closed state
* fix: build issues
* chore: minor css
* feat: handle changes for last used query,states and reset
* feat: refactor some code
* feat: handle on change functionality
* fix: handle only and all
* chore: handle empty edge cases
* feat: added necessary tooltips
* feat: use tag instead of tooltip icon
* feat: handle light mode designs
* feat: added correct facets
* feat: added resize observer for the graph resize
* chore: added local storage state for the toggle
* chore: make refresh text configurable
* feat: added environment and fix build
* feat: handle the cases for = and != operators
* feat: design changes and zoom out
* feat: minor css issue
* fix: light mode designs
* fix: handle the case for state initialization
* fix: onDelete query the last used index should be set to 0
* feat: tabs and filters for alert history page (#5655)
* feat: alert history page route and component setup
* feat: alert history basic tabs and fitlers UI
* feat: route based tabs for alert history and overview and improve the UI to match designs
* chore: unused components and files cleanup
* chore: improve alert history and overview route paths
* chore: use parent selector in scss files
* chore: alert -> alerts
* feat: alert rule details metadata header (#5675)
* feat: alert history basic tabs and fitlers UI
* feat: route based tabs for alert history and overview and improve the UI to match designs
* chore: unused components and files cleanup
* feat: copy to clipboard component
* feat: see more component
* feat: key value label component
* feat: alert rule details meta data header
* fix: apply the missing changes
* chore: uncomment the alert status with static data
* chore: compress the alert status svg icons and define props, types, and defaultProps
* feat: alert rule history skeleton using static data (#5688)
* feat: alert history basic tabs and fitlers UI
* feat: route based tabs for alert history and overview and improve the UI to match designs
* feat: top contributors UI using static data
* feat: avg. resolution time and total triggered stats card UI using static data
* feat: tabs component
* feat: timeline tabs and filters
* feat: overall status graph UI using dummy data with graph placeholder
* feat: timeline table and pagination UI using dummy data
* fix: bugfix in reset tabs
* feat: add popover to go to logs/traces to top contributors and timeline table
* chore: remove comments
* chore: rename AlertIcon to AlertState
* fix: add cursor pointer to timeline table rows
* feat: add parent tabs to alert history
* chore: add icon to the configure tab
* fix: display popover on hovering the more button in see more component
* fix: wrap key value label
* feat: alert rule history enable/disable toggle UI
* Feat: get alert history data from API (#5718)
* feat: alert history basic tabs and fitlers UI
* feat: route based tabs for alert history and overview and improve the UI to match designs
* feat: data state renderer component
* feat: get total triggered and avg. resolution cards data from API
* fix: hide stats card if we get NaN
* chore: improve rule stats types
* feat: get top contributors data from API
* feat: get timeline table data from API
* fix: properly render change percentage indicator
* feat: total triggered and avg resolution empty states
* fix: fix stats height issue that would cause short border-right in empty case
* feat: top contributors empty state
* fix: fix table and graph borders
* feat: build alert timeline labels filter and handle client side filtering
* fix: select the first tab on clicking reset
* feat: set param and send in payload on clicking timeline filter tabs
* Feat: alert history timeline remaining subtasks except graphs (#5720)
* feat: alert history basic tabs and fitlers UI
* feat: route based tabs for alert history and overview and improve the UI to match designs
* feat: implement timeline table sorting
* chore: add initial count to see more and alert labels
* chore: move PaginationInfoText component to /periscope
* chore: implement top contributor rows using Ant Table
* feat: top contributors view all
* fix: hide border for last row and prevent layout shift in top contributors by specifying height
* feat: properly display duration in average resolution time
* fix: properly display normal alert rule state
* feat: add/remove view all top contributors param to url on opening/closing view all
* feat: calculate start and end time from relative time and add/remove param to url
* fix: fix console warnings
* fix: enable timeline table query only if start and end times exist
* feat: handle enable/disable alert rule toggle request
* chore: replace string values with constants
* fix: hide stats card if only past data is available + remove unnecessary states from AlertState
* fix: redirect configure alert rule to alert overview tab
* fix: display total triggers in timeline chart wrapper based on API response data
* fix: choosing the same relative time doesn't udpate start and end time
* Feat: total triggered and avg. resolution time graph (#5750)
* feat: alert history basic tabs and fitlers UI
* feat: route based tabs for alert history and overview and improve the UI to match designs
* feat: handle enable/disable alert rule toggle request
* feat: stats card line chart
* fix: overall improvements to stats card graph
* fix: overall UI improvements to match the Figma screens
* chore: remove duplicate hook
* fix: make the changes w.r.t timeline table API changes to prevent breaking the page
* fix: update stats card null check based on updated API response
* feat: stats card no previous data UI
* feat: redirect to 404 page if rule id is invalid
* chore: improve alert enable toggle success toast message
* feat: get top contributors row and timeline table row related logs and traces links from API
* feat: get total items from API and make pagination work
* feat: implement timeline filters based on API response
* fix: in case of current and target units, convert the value unit in timeline table
* fix: timeline table y axis unit null check
* fix: hide stats card graph if only a single entry is there in timeseries
* chore: redirect alert from all alerts to overview tab
* fix: prevent adding extra unnecessary params on clicking alerts top level tabs
* chore: use conditional alert popover in timeline table and import the scss file
* fix: prevent infinity if we receive totalPastTriggers as '0'
* fix: improve UI to be pixel perfect based on figma designs
* fix: fix the incorrect change direction
* fix: add height to top contributors row
* feat: alert history light mode
* fix: remove the extra padding from alert overview query builder tabs
* chore: overall improvements
* chore: remove mock file
* fix: overall improvements
* fix: add dark mode support for top contributors empty state
* chore: improve timeline chart placeholder bg in light mode
* Feat: alert history horizontal timeline chart (#5773)
* feat: timeline horizontal chart
* fix: remove the labels from horizontal timeline chart
* chore: add null check to timeline chart
* chore: hide cursor from timeline chart
* fix: fix the blank container being displayed in loading state
* fix: alert history UI fixes (#5776)
* fix: remove extra padding from alert overview query section tabs
* fix: add padding to alert overview container
* fix: improve breadcrumb click behavior
* chore: temporarily hide reset button from alert details timepicker
* fix: improve breadcrumb click behavior
* chore: hide alert firing since
* fix: don't use the data state renderer for timeline table
* fix: alert history pr review changes (#5778)
* chore: rename alert history scss files in pascal case
* fix: use proper variables
* chore: use color variable for action button dropdown item
* chore: improve the directory structure for alert history components
* chore: move inline style to scss file and extract dropdown renderer component
* chore: use colors from Color instead of css variables inside tsx files
* chore: return null in default case
* chore: update alert details spinner tip
* chore: timelinePlugin warnings and remove file wide warning disabling
* chore: change Arial to Geist Mono in timeline plugin
* feat: alert history remaining feats (#5825)
* fix: add switch case for inactive state to alert state component
* feat: add API enabled label search similar to Query Builder
* feat: add reset button to date and time picker
* feat: add vertical timeline chart using static data
* chore: use Colors instead of hex + dummy data for 90 days
* fix: label search light mode UI
* fix: remove placeholder logic, and display vertical charts if more than 1 day
* chore: extract dayjs manipulate types to a constant
* fix: hide the overflow of top contributors card
* fix: throw instead of return error to prevent breaking alert history page in case of error
* chore: temporarily comment alert history vertical charts
* chore: calculate start and end times from relative time and remove query params (#5828)
* chore: calculate start and end times from relative time and remove query params
* fix: hide reset button if selected time is 30m
* feat: alert history dropdown functionality (#5833)
* feat: alert history dropdown actions
* chore: use query keys from react query key constant
* fix: properly handle error states for alert rule APIs
* fix: handle dropdown state using onOpenChange to fix clicking delete not closing the dropdown
* Fix: bugfixes and overall improvements to alert history (#5841)
* fix: don't display severity label
* chore: remove id from alert header
* chore: add tooltip to enable/disable alert toggle
* chore: update enable/disbale toast message
* fix: set default relative time to 6h if relative time is not provided
* chore: update empty top contributors text and remove configure alert
* chore: temporarily hide value column from timeline column
* fix: use correct links for logs and traces in alert popover
* fix: properly set timeline table offset
* fix: display all values in graph
* fix: resolve conflicts
* chore: remove style for value column in timeline table
* chore: temporarily hide labels search
* fix: incorrect current page in pagination info text
* chore: remove label QB search
* chore: remove value column
* chore: remove commented code
* fix: show traces button when trace link is available
* fix: display horizontal chart even for a single entry
* fix: show inactive state in horizontal similar to normal state
* fix: properly render inactive state in horizontal chart
* fix: properly handle preserving alert toggle between overview and history tabs
* feat: get page size from query param
* chore: remove commented code + minor refactor
* chore: remove tsconfi.tmp
* fix: don't add default relative time if start and times exist in the url
* feat: display date range preview for stat cards
* chore: remove custom dropdown renderer component
* Fix: UI feedback changes (#5852)
* fix: add divider before delete button
* fix: timeline section title color in lightmode
* fix: remove the extra border from alert history tabs
* fix: populate alert rule disabled state on toggling alert state (#5854)
---------
Co-authored-by: Shaheer Kochai <ashaheerki@gmail.com>
* feat: add view templates option to dashboard menu
* feat: increase dropdown overlay width
Set the dropdown overlay width to 200px to provide breathing space for the dropdown button.
Added flex to wrap the dropdown button to create space between the right icon and the left elements.
* feat: add localization for messaging queues Kafka overview page
Added localization support for the messaging queues Kafka overview page.
Closes#1735
---------
Co-authored-by: Pranay Prateek <pranay@signoz.io>
* chore: make the raw view the default view for logs
* fix: jest test cases
* fix: jest test cases
* chore: fix one test case
* fix: formatting issue
* fix: formatting issue
* feat: consume the new search bar
* fix: minor css issue
* chore: address review comments
* fix: very fast typing
* chore: added inline code comments
* chore: add the changes behind FF
* fix: changing color of tag for Service Map in sidepanel
* fix: added geekblue and borderless in beta tag to light theme changer
* fix: removed comments
* fix: colored logs in new logs explorer
* fix: handle escapes better
* fix: handle escapes better
* chore: add code comments
* chore: added back text to copy to the body
* chore: test websockets
* chore: test websockets
* chore: test websockets
* chore: test websockets
* chore: cleanup PR
* chore: added back check origin function and loggings to check why the mismatch
* chore: the uuid should update on every new request
* chore: experiment with delaying the query deletion
* chore: experiment with delaying the query deletion
* chore: experiment with delaying the query deletion
* chore: upgrade nginx conf
* chore: upgrade nginx conf
* chore: upgrade nginx conf
* chore: experiment with delaying the query deletion
* chore: cleanup PR
* chore: remove print statements
* feat: add view templates option to dashboard menu
* feat: increase dropdown overlay width
Set the dropdown overlay width to 200px to provide breathing space for the dropdown button.
Added flex to wrap the dropdown button to create space between the right icon and the left elements.
---------
Co-authored-by: Pranay Prateek <pranay@signoz.io>
* feat: add support for changing the font size in logs
* fix: build issues and logs context
* chore: fix build issues
* feat: scale all the spaces
* chore: handle light mode designs
* feat: set small as the default
* feat: make the query builder search extensible
* feat: setup the framework and necessary states needed
* feat: cover the happy path of selects
* chore: forward typing flow handled
* chore: add antd select
* chore: add antd select
* chore: handle forward and backward flows
* feat: added tag properites to the search bar and multi tag partial handling
* feat: handle tag on blur and body contains changes
* feat: handle tag deselect
* feat: multi tag handling
* feat: multi tag handling
* fix: jest test cases
* chore: update the key
* chore: add edit tag not working as expected
* feat: handle cases for exists and nexists
* fix: handle has / nhas operators
* chore: fix usability issues
* chore: remove the usage for the new bar
* fix: flaky build issues
* feat: client changes for consumption and design changes for where clause in logs explorer (#5712)
* feat: query search new ui
* feat: suggestions changes in v2
* feat: dropdown and tags ui touch up
* feat: added missing keyboard shortcuts
* fix: race condition issues
* feat: remove usage
* fix: operator select fix
* fix: handle example queries click changes
* chore: design sync
* chore: handle boolean selects
* chore: address review comments
* fix: do not use relative URLs for ws connections
* fix: handle local env better
* chore: update the websocket endpoint
* chore: handle OSS/Docker installations
* fix: change NOOP to count on creating alert from Logs and traces
* fix: change 'count' back to 'noop' in Traces page, in case there is a single query
* fix: handle the query modification in useGetCompositeQueryParam instead of Filter
* chore: use values StringOperators enum instead of hard coded strings
* Revert "fix: handle the query modification in useGetCompositeQueryParam instead of Filter"
This reverts commit 5bb837ec27.
* Revert "fix: change 'count' back to 'noop' in Traces page, in case there is a single query"
This reverts commit 5e506dbd35.
* feat: changes for the query stats websockets
* chore: remove unwanted files
* fix: work on random id rather than hash
* fix: improve the icons and design
* feat: webpack and docker file changes
* fix: test cases
* chore: format the units
* chore: address review comments
* chore: update the id to uuid package
* fix: build issues
* chore: remove docker file changes
* chore: remove docker file changes
* feat: qb-suggestions base setup
* chore: make the dropdown a little similar to the designs
* chore: move out example queries from og and add to renderer
* chore: added the handlers for example queries
* chore: hide the example queries as soon as the user starts typing
* feat: handle changes for cancel query
* chore: remove stupid concept of option group
* chore: show only first 3 items and add option to show all filters
* chore: minor css changes and remove transitions
* feat: integrate suggestions api and control re-renders
* feat: added keyboard shortcuts for the dropdown
* fix: design cleanups and touchups
* fix: build issues and tests
* chore: extra safety check for base64 and fix tests
* fix: qs doesn't handle padding in base64 strings, added client logic
* chore: some code comments
* chore: some code comments
* chore: increase the height of the bar when key is set
* chore: address minor designs
* chore: update the keyboard shortcut to cmd+/
* feat: correct the option render for logs for tooltip
* chore: search bar to not loose focus on btn click
* fix: update the spacing and icon for search bar
* chore: address review comments
* feat: move chat support behind paywall
* feat: wire up chat support paywall
* feat: move chat support code from app layout to separate component
* feat: add log events
* feat: get query progress tracker started
* feat: flesh out query progress test some more and get first few assertions passing
* chore: flesh out query tracker tests and impl some more
* feat: add impl for QueryTracker.Subscribe
* feat: send latest update if available on subscription
* feat: broadcast query progress to all subscribers on update
* feat: finish plumbing query tracker happy path
* feat: finish with v0 impl for query progress tracker
* chore: some cleanup of query progress tracker
* feat: hook up query progress tracking for queryRangeV3
* feat: impl for query progress websocket API handler
* feat: implement Hijacker iface for loggingResponseWriter for websocket upgrades
* chore: some cleanup to query progress websocket API handler
* chore: some cleanup
* chore: move query progress impl into its own subpackage
* chore: separate in-memory tracker impl from interface
* chore: some more cleanup of in memory tracker
* chore: some more cleanup of query progress tracker
* chore: some final cleanups
* fix: clean out the panel type change attribute dependency
* fix: clean out the updater function as well
* fix: issue with rendering list panel as first and then moving around
* chore: stash initial work with API signature
* chore: put together setup for integration testing filter suggestions
* feat: filter suggestions: suggest attribs using existing autocomplete logic
* chore: filter suggestions test: add expectation for example queries
* feat: filter suggestions: default suggestions when data yet to be received
* feat: finish plumbing basic example queries
* chore: add test for filter suggestions with an existing query
* feat: filter suggestions: don't suggest attribs already included in existing filter
* chore: generate example queries by including existing filter first
* chore: upgrade ClickHouse-go-mock
* chore: some cleanup of reader.GetQBFilterSuggestionsForLogs
* chore: some cleanup of filter suggestion tests
* chore: some cleanup to http handler and request parsing logic for filter suggestions
* chore: remove expectation that attrib suggestions won't contain attribs already used in filter
* feat: added links to integrations page in onboarding section
* feat: removed box shadow for button
* refactor: added routes object to navigate to integrations page
* feat: added new styles for data source name
* fix: added card to show message for deleted alert id
* refactor: added new constants for handling error message when alert is deleted
* refactor: added error response to error message field
* refactor: removed console statement
* refactor: renamed the variables
* feat: added link for dashboard name
* refactor: added getLink function to get the link of dashboard details page
* refactor: changed the color for dashboard name
* refactor: updated the classname for dashboard name
* fix: update css tokens and light mode design
---------
Co-authored-by: vikrantgupta25 <vikrant.thomso@gmail.com>
* chore: added service name and time params for top level operations
* fix: build issues
* chore: update the useTopLevelOpertions to send start and end time
* chore: added extra checks to not send the param when undefined
* chore: added extra checks to not send the param when undefined
---------
Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
* feat: set log sev indicator based on severity number if severity text is unknown
* chore: some cleanup
* chore: some more cleanup
* chore: update log state indicator utils test
* chore: some more cleanup
* fix: priority to severity_number over severity_text and update tests
* fix: made the severity_text check case insensitive and added null checks
---------
Co-authored-by: Vikrant Gupta <vikrant.thomso@gmail.com>
* feat: removed top nav from new alerts landing page
* feat: added new function to check new alerts landing page
---------
Co-authored-by: Vikrant Gupta <vikrant.thomso@gmail.com>
* feat: query service changes base setup for preferences
* feat: added handlers for user and org preferences
* chore: added base for all user and all org preferences
* feat: added handlers for all user and all org preferences
* feat: register the preference routes and initDB in pkg/query-service
* feat: code refactor
* chore: too much fun code refactor
* chore: little little missing attributes
* fix: handle range queries better
* fix: handle range queries better
* chore: address review comments
* chore: use struct inheritance for the all preferences struct
* chore: address review comments
* chore: address review comments
* chore: correct preference routes
* chore: low hanging optimisations
* chore: address review comments
* chore: address review comments
* chore: added extra validations for the check in allowed values
* fix: better handling for the jwt claims
* fix: better handling for the jwt claims
* chore: move the error to preference apis
* chore: move the error to preference apis
* fix: move the 401 logic to the auth middleware
### Summary
Handle the scenario when email with domain is used for SSO Login which does not match authenticated domains.
Signed-off-by: Prashant Shahi <prashant@signoz.io>
### Summary
Handle the scenario when email with domain is used for SSO Login which does not match authenticated domains.
Signed-off-by: Prashant Shahi <prashant@signoz.io>
* fix: relative time param from the url not respected
* chore: added code comments and the priorities of the params
* fix: added validity checks for the relativeTime in the url
* fix: use the same step interval as in the dashboard query while creating alerts from panel
* chore: added extra safety checks
* chore: add test cases for the mapQueryDataFromAPI utils
* chore: added functions test cases as well
---------
Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
* fix: use proper indexes for full text search
* fix: tests updated
* feat: lower support only for body and not attributes
* fix: remove default tolower
* fix: add comment for json key split
* fix: remove ilike only for body searches
* fix: minor fixes
* fix: minor fixes
* fix: dashboards list url query params isolation
* feat: order query param old logs explorer isolation
* feat: added extra checks in place
* fix: refactor the dashboards list page for better performance
* chore: add test cases for the dashboards list page
* fix: added test cases for dashboards list page
* fix: added code comments
* fix: added empty state for dashboards and no search state
* chore: helpers required for dashboards e2e test cases
* chore: helpers required for dashboards e2e test cases
* chore: helpers required for dashboards e2e test cases
* fix: properly render newline and tab in log details
* fix: change font family and add tab size to properly render \t
* feat: apply Geist Mono font to the logs
* feat: added invite team member from onboarding flow
* feat: removed commented code and added text to strings-translations
* feat: added en-gb strings
* feat: added more text to strings
* feat: removed commented code and app.ts changes
* feat: added test case for onboarding and invite flow
* feat: added invite team member logEvents
* feat: resovled comments
* feat: cdoe refactor and test case changes
* feat: added empty states for list, trace and timeSeried view in traces
* feat: test case skip
* feat: fixed import order
* feat: added utm parameter link
* feat: added strings
* feat: resovled comments
* feat: added common doclinks util
* feat: test case updated:
* chore: add test validating pipeline alias collisions dont lead to bad config recommendations
* chore: emit error log on detecting duplicate processors in generated config
* chore: ensure collector config processor names for pipelines are unique
* chore: minor cleanups
* feat: added track event in Alerts - (multiple places)
* feat: comment resolve and code refactor
* feat: add Alert Channel: Channel list page visited event
* feat: removed testSuccess variable and used responseStatus directly
* feat: added save status in alert channel: save action
* feat: added channel detail in save and test notification event
* feat: code refactor
* feat: added status message for save and test
* feat: added status message for save channel events
* feat: code refactor
* fix: added user_count and spawn_rate options to hotRod load data command
* fix: removed locust_count and hatch_rate options
* fix: updated user_count and spawn_rate values to the default values used in other places
---------
Co-authored-by: Prashant Shahi <prashant@signoz.io>
* feat: go to traces should use start time and endtime from trace details
* chore: remove console log
---------
Co-authored-by: Vishal Sharma <makeavish786@gmail.com>
* feat: added checkbox selection in dashboard variables
* feat: added checkbox selection - handling with only and all
* feat: added checkbox selection - style changes
* fix: fixed deselecting all options
* feat: fixed all showing up in single select
* feat: improve styles
* feat: fixed single select getting all values and array issues
* feat: updated test case
* feat: added max tag shown logic with count length and info on hover for overflowed content
* feat: added an option to create channel when no Channels are availabel in alert config
* feat: added tooltip for the case when nochannel
* feat: opened notification channel creation in new tab
* feat: added role permission on create-notification-btn and disabled on loading
* feat: added admin permission required message in tooltip
---------
Co-authored-by: Vishal Sharma <makeavish786@gmail.com>
* fix: dashboard listing default sorting by createdAt
* fix: respect pagination options
* fix: make it backwards compatible
* fix: sort by default by updated at
* fix: sort by default by updated at
* fix: step interval not working for logs alerts
* fix: build issues
* fix: do not auto update the step interval when user enters some value
* feat: remove initial default 60 from step interval
* feat: revert last change
* fix: step interval mapping
* fix: remove initial default 60 from step interval
* Revert "fix: remove initial default 60 from step interval"
This reverts commit d23ce5e7e2.
* chore: fix backend
* chore: remove backend changes
* feat: enable the aggregate every interval across product
* fix: handle full view and landing view changes
---------
Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
* feat: added option to download billing usage data as csv
* feat: rounded off values to 2 decimal places
* feat: removed state and use useRef
* feat: removed ref and added a function handler for csv
* feat: added try-catch logic for handleCsvDownload function
* feat: added successful notification
* fix: unsaved changes popping up for newly created dashboard in settings
* fix: width changing of right bar when adding new queries
* fix: address review comments
* feat: stacked bars uplot poc
* feat: stacked bars uplot poc
* feat: reverse the legend order
* fix: tooltip
* feat: added bands
* feat: added bands calculation function
* feat: code cleanup and added toggle for stacked and unstacked bars
* feat: minor fixes and better naming
* feat: fix jest test cases
* feat: fix data on view mode of bar chart stacked
* feat: make transulecent colors
* fix: build issues
* fix: legend issues in bar chart edit mode
* feat: added implementation details and refactored code in tooltip plugin
* fix: added missing return statement
* fix: eslint prettier issues
* fix: legend visibility issues on view mode
* fix: legend visibility issues on view mode
* feat: added info text
* fix: add info text only in full view mode
* fix: issue with zero index
* chore: track from which page user visited to support page
* chore: add safety check
* fix: remove the merged_queries label from histogram
---------
Co-authored-by: Vikrant Gupta <vikrant.thomso@gmail.com>
* feat: trace-filter style and light mode fixes
* fix: removed duration option passed as undefined
* feat: fixed the debounced function on attribute values API call
* feat: support multi ingestion keys
* fix: remove unwanted changes
* feat: limits ui
* feat: handle limit updates from component
* feat: handle limit updates per signal
* feat: integrate multiple ingestion key api
* feat: handle crud for limits
* fix: lint errors
* feat: support query search for ingestion name
* feat: show utilized size in limits
* feat: show multiple ingestions ui only if gateway is enabled
* feat: handle decimal values for ingestion size
* feat: enable multiple ingestion keys for all users with gateway enabled
* chore: remove yarn.lock
---------
Co-authored-by: Yunus A M <younix@Yunuss-MacBook-Pro.local>
Co-authored-by: Prashant Shahi <prashant@signoz.io>
* feat: added trace-filter in new trace-explorer
* feat: added trace-filter in new trace-explorer
* feat: style improvement
* feat: query builder sync and filter section refactor
* feat: added duration and code refactor
* feat: added default open case
* feat: removed API calls and used keys from const
* feat: added sync and prepare data logic for querybuilder
* feat: added styles for lightmode
* feat: code refactor and sync issue fixed
* feat: code refactor and sync issue fixed
* feat: code refactor and feedback issue fixed
* feat: checkbox label and other feedback fix
* feat: filter open and close btn style and handling
* feat: added filter reset and clear all
* feat: fixed query modification issue when filtering
* feat: code refactor
* feat: search text via BE API
* feat: added CTA btn for old explorer page
* feat: make trace-explorer default page
* feat: removed new ribbon on CTA for old trace explorer
* feat: fixed qb and filter panel sync via url state
* feat: fixed duration section issues
* feat: base setup for individual column type units
* feat: added logic for y axis unit selection
* fix: light mode design
* feat: fix the mutation of original datasource array
* fix: page breaking when query range response is null for table panel type
* fix: page breaking when query range response is null for table panel type
* fix: page breaking when query range response is null for table panel type
* fix: parse both unix int and RFC3339 string in toUnixTimestamp
* chore: return GoValuateFuncs as float64
* chore: remove toUnixTimestamp function
---------
Signed-off-by: Prashant Shahi <prashant@signoz.io>
* fix: add createdby and createdAt by default and show not be configurable
* fix: make the checkbox always checked for createdby and createdat
* fix: decrease the margins for the graph and make it compact
* fix: decrease font size for metadata
* fix: handle-large-traces
* feat: add isSubTree key to identify subTrees
Show user a loom video explaining how to navigate large spans
* chore: update icon to warning
* chore: fire telemetry events for all trace detail API calls, large traces
* chore: update MAX_SPANS_IN_TRACE to 250k
* fix: do not route back to overview tab when changing the resource attributes
* fix: retain the resource attributes in query params on tab change
* feat: added jest test case for the same
---------
Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
* feat: added helper text, learn-more and doc-link
* feat: added collapse and uncollapse text on hover
* feat: added learn-more doc link for trace & logs explorer
* feat: added learn-more doc link
* feat: added learn-more doc link
* chore: added alert links and minor updates
* feat: added learn-more doc link
---------
Co-authored-by: makeavish <makeavish786@gmail.com>
* fix: multiple widgets getting created and hence blocking the delete
* fix: allow multiple deletes when multiple widgets present with same id
* chore: use the avg for limit
---------
Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
* chore: add test for updatedAt value being populated in integration dashboards and get it passing
* chore: also populate createdAt, createBy and updateBy for instaled integration dashboards
* chore: update clickhouse integration config instructions
* chore: change logs connection test spec to be based on an attrib value
* chore: disallow unknown fields while unmarshalling JSON for an integration
* chore: add description field to collected metric spec
* chore: update logs connection test for builtin integrations
* chore: update logic for calculating logs connection status
* feat: added test cases for pipeline pages
* feat: added test cases for changeHistory
* chore: change history table test case added
* chore: added create pipeline button test cases
* chore: updated useAnalytics mocking
* fix: ch queries sending builder as query type in query range api for exceptions alerts
* fix: ch queries sending builder as query type in query range api for exceptions alerts
* fix: alerts routing from logs explorer and dashboards
* feat: dashboard panel grouping initial setup
* feat: added panel map to the dashboard response and subsequent types for the same
* feat: added panel map to the dashboard response and subsequent types for the same
* feat: added settings modal
* feat: handle panel collapse and open changes
* feat: handle creating panel map when dashboard layout changes
* feat: handle creating panel map when dashboard layout changes
* feat: refactor code
* feat: handle multiple collapsable rows
* fix: type issues
* feat: handle row collapse button and scroll
* feat: handle y axis movement for rows
* feat: handle delete row
* feat: handle settings name change
* feat: disable collapse/uncollapse when dashboard loading to avoid async states
* feat: decrease the height of the grouping row
* fix: row height management
* fix: handle empty row case
* feat: remove resize handle from the row
* feat: handle re-arrangement of panels
* feat: increase height of default new widget
* feat: added safety checks
* chore: get built-in clickhouse integration started
* chore: update config pre-requisites for clickhouse integration
* chore: add details of metrics data collected for clickhouse integration
* chore: clickhouse integration: move list of data-collected to its own file
* chore: clickhouse integration: get overview dashboard started
* chore: start with logs collection instructions for clickhouse
* chore: regex parsing for clickhouse text logs
* chore: timestamp parsing for clickhouse logs
* chore: severity parsing for clickhouse logs
* chore: clickhouse logs parsing: move parsed message to body if available
* chore: update pre-reqs for collecting from system.query_log table
* feat: add instructions for collecting from system.query_log table
* feat: add logs attribs collected
* chore: some cleanup of clickhouse overview dashboard
* feat: finish up with clickhouse overview dashboard for clickhouse integration
* fix: restrict visibilty of facing-issue button to only cloud users with intercom setup
* fix: restrict visibilty of facing-issue button to only cloud users with intercom setup
* fix: added a comment
* fix: added chat support feature flag condition
* fix: added a comment
* fix: changed folder structure
* fix: alert threshold form is resetting to default query option on stage & run
* fix: alert threshold - added safety check when the queryOption is deleted
* chore: add test cases for Logs
* chore: add test cases for Logs - explorer
* chore: add test cases for Logs - toolbarAction
* chore: add test cases for Logs - list and table view
* chore: add test cases for Logs - list and table view
* chore: code fix
* fix: wrong payload being sent in the dashboard payload
* fix: sync the update set dashboard function
* fix: syncronise the var updates
* fix: jest test cases
* fix: added review comments
* fix: do not make query range API call until the queue is empty
---------
Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
* feat: support of changing panel type in dashboards
* feat: add handle query change function
* feat: last bit of minor change
* feat: apply current query updates to superset query
* feat: pr cleanup
* feat: handle list type change
* fix: build issues
* fix: changes required due to refactor
* fix: handle offset and page size for list queries
* feat: handle functions propagation
* feat: handle the spaceAggregation value to retain
* fix: handle list panel type changes
* feat: handle removing the graph list from the side selection in case of metrics
* feat: handle list type qb changes
* feat: handle page breaking
* feat: pick dataSource from newQUeryItem
* feat: handle page reload
* chore: add explicit happy case test for regex parsing processor
* chore: add explicit happy case test for grok parsing processor
* chore: add explicit happy case test for JSON parsing processor
* chore: log pipelines: move trace parser test to processors_test.go
* chore: add explicit happy case test for ADD processor
* chore: add explicit happy case test for remove processor
* chore: add explicit happy case test for copy processor
* chore: add explicit happy case test for move processor
* fix: fix broken grok parser test: change test int value to int64
---------
Co-authored-by: Nityananda Gohain <nityanandagohain@gmail.com>
* refactor: initial setup
* refactor: created panelWrapper to separate panel data
* fix: type error
* fix: the dimension issue for graphs
* refactor: done with table value uplot panels
* refactor: done with logs panel component
* refactor: updated props for log panel component
* fix: query range duplicate issue for logs
* refactor: trace list view done
* fix: full view support
* refactor: done with edit mode for panels
* refactor: type and props
* refactor: reduce an extra api call on edit for list view
* refactor: done with full graph visibility handler
* refactor: removed commented code
* refactor: removed commented code
* fix: build failure
* refactor: updated service layer graphs
* refactor: updated top level oparation query key
* refactor: added drag select
* refactor: done with drag select in chart
* refactor: code cleanup
* refactor: legend should not need stage and run query
* feat: onboarding flow - enable users to submit request for a new data source , environment
* chore: request data source to be available for all modules
* chore: remove hardcoded value
* feat: add integrations to the side-nav for cloud users
* feat: change the route from integrations/installed to /integrations
* feat: light mode table color
* feat: increase the width of the integrations panel by 25 percent
* feat: added telemetry constants and page view
* feat: added telemetry events for integrations
* feat: address review comments
* feat: update time range selection flows to handle relative and absolute times
* fix: lint error
* fix: lint error
* feat: update logic to handle custom relative times on load and standardize relative time formats
* fix: type issue
* fix: handle light mode and on custom time range select
* chore: update alert frequency corresponding times
* chore: update copy URL
* feat: update styles
* refactor: change the logic to match data from another query
* refactor: updated logic
* refactor: clean up
* refactor: updated case to handle formula
* chore: nit
* refactor: isEqual instead of nested loops
* chore: added comments
* refactor: updated logic
* refactor: clean up
* refactor: updated case to handle formula
* chore: nit
* refactor: isEqual instead of nested loops
* feat: flesh out pre-requisites for collecting mongodb logs and metrics
* chore: remove stale pipelines in bundled integrations
* chore: clean up 'collect metrics' step for mongodb
* feat: add instructions for collecting and parsing mongodb logs
* feat: add metrics and logs attributes to mongodb data collected list
* feat: nginx logs collection instructions and some other cleanup
* feat: add list of parsed log attributes to data collected list for nginx
* chore: do not run pipeline population integration test if no built-in integration has a pipeline
* 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
about: Request a new dashboard for the SigNoz Dashboards repository
title: '[Dashboard Request] '
labels: 'dashboard-template'
assignees: ''
---
<!-- Use this template to request a new dashboard for the SigNoz Dashboards repository. Providing detailed information will help us understand your needs better and speed up the dashboard creation process. -->
## Dashboard Name
<!-- Provide the name for the requested dashboard. Be specific (e.g., "MySQL Monitoring Dashboard"). -->
## Expected Dashboard Sections and Panels
(Can be tweaked (add or remove panels/sections) according to available metrics)
### Section Name
<!-- Brief description of what this section should display (e.g., "Resource usage metrics for MySQL database"). -->
### Panel Name
<!-- Description of the panel (e.g., "Displays current CPU usage, memory usage, etc."). -->
<!-- -**Example:**
-**Section**: Resource Metrics
-**Panel**: CPU Usage - Displays the current CPU usage across all database instances.
-**Panel**: Memory Usage - Displays the total memory used by the MySQL process. -->
<!-- Repeat this format for any additional sections or panels. -->
## Expected Dashboard Variables
<!-- List any dashboard variables that should be included in the dashboard. Examples could be `deployment.environment`, `hostname`, `region`, etc. -->
## Additional Comments or Requirements
<!-- Include any other details, special requirements, or specific visualizations you'd like to request for this dashboard. -->
## References or Screenshots
<!-- Add any references or screenshots of requested dashboard if available. -->
## 📋 Notes
Please review the [CONTRIBUTING.md](https://github.com/SigNoz/dashboards/blob/main/CONTRIBUTING.md) for guidelines on dashboard structure, naming conventions, and how to submit a pull request.
@@ -30,6 +30,7 @@ Also, have a look at these [good first issues label](https://github.com/SigNoz/s
- [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)
- [Contribute to Dashboards](#6-contribute-to-dashboards-)
- [Other Ways to Contribute](#other-ways-to-contribute)
# 1. General Instructions 📝
@@ -37,7 +38,7 @@ Also, have a look at these [good first issues label](https://github.com/SigNoz/s
## 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.
@@ -56,7 +57,7 @@ Before making any significant changes and before filing a new issue, please chec
Discussing your proposed changes ahead of time will make the contribution
process smooth for everyone 🙌.
**[`^top^`](#)**
**[`^top^`](#contributing-guidelines)**
<hr>
@@ -97,13 +98,14 @@ GitHub provides additional document on [forking a repository](https://help.githu
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).
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 community](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)
- If you want to request a new **dashboard template** → please create an issue [here](https://github.com/SigNoz/signoz/issues/new?assignees=&labels=dashboard-template&projects=&template=request_dashboard.md&title=%5BDashboard+Request%5D+).
<hr>
@@ -117,7 +119,7 @@ e.g. If you are submitting a fix for an issue in frontend, the PR name should be
- 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^`](#)**
**[`^top^`](#contributing-guidelines)**
<hr>
@@ -127,14 +129,13 @@ e.g. If you are submitting a fix for an issue in frontend, the PR name should be
- [**Frontend**](#3-develop-frontend-) (Written in Typescript, React)
- [**Backend**](#4-contribute-to-backend-query-service-) (Query Service, written in Go)
- [**Dashboard Templates**](#6-contribute-to-dashboards-) (JSON dashboard templates built with SigNoz)
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. 🙏🏻
**Please note:** If you want to work on an issue, please add a brief description of your solution on the issue before starting work on it.
⚠️ If you just raise a PR, without the corresponding issue being assigned to you - it may not be accepted.
**[`^top^`](#)**
**[`^top^`](#contributing-guidelines)**
<hr>
@@ -188,7 +189,7 @@ Also, have a look at [Frontend README.md](https://github.com/SigNoz/signoz/blob/
### 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)
**[`^top^`](#)**
**[`^top^`](#contributing-guidelines)**
## 3.2 Contribute to Frontend without installing SigNoz backend
@@ -209,7 +210,7 @@ Please ping us in the [`#contributing`](https://signoz-community.slack.com/archi
**Frontend should now be accessible at** [`http://localhost:3301/services`](http://localhost:3301/services)
**[`^top^`](#)**
**[`^top^`](#contributing-guidelines)**
<hr>
@@ -309,7 +310,7 @@ Click the button below. A workspace with all required environments will be creat
> 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` -->
**Need to Update: [https://github.com/SigNoz/dashboards](https://github.com/SigNoz/dashboards)**
To contribute a new dashboard template for any service, follow the contribution guidelines in the [Dashboard Contributing Guide](https://github.com/SigNoz/dashboards/blob/main/CONTRIBUTING.md). In brief:
1. Create a dashboard JSON file.
2. Add a README file explaining the dashboard, the metrics ingested, and the configurations needed.
3. Include screenshots of the dashboard in the `assets/` directory.
4. Submit a pull request for review.
## Other Ways to Contribute
There are many other ways to get involved with the community and to participate in this project:
@@ -379,7 +391,6 @@ There are many other ways to get involved with the community and to participate
- 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.
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 :)
Sag Hi zu uns auf [Slack](https://signoz.io/slack) 👋
<br/><br/>
## Funktionen:
- 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.
@@ -93,7 +89,6 @@ Sag Hi zu uns auf [Slack](https://signoz.io/slack) 👋
<br/><br/>
## Wieso SigNoz?
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.
@@ -116,12 +111,10 @@ Wir unterstützen [OpenTelemetry](https://opentelemetry.io) als Bibliothek, mit
- Elixir
- Rust
Hier findest du die vollständige Liste von unterstützten Programmiersprachen - https://opentelemetry.io/docs/
<br/><br/>
## Erste Schritte mit SigNoz
### Bereitstellung mit Docker
@@ -138,7 +131,6 @@ Bitte folge den [hier](https://signoz.io/docs/deployment/helm_chart) aufgelistet
<br/><br/>
## Vergleiche mit bekannten Tools
### SigNoz vs Prometheus
@@ -179,7 +171,6 @@ Wir haben Benchmarks veröffentlicht, die Loki mit SigNoz vergleichen. Schauen S
<br/><br/>
## Zum Projekt beitragen
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.
@@ -197,6 +188,8 @@ Du bist dir nicht sicher, wie du anfangen sollst? Schreib uns einfach auf dem #c
#### Frontend
- [Palash Gupta](https://github.com/palashgdev)
- [Yunus M](https://github.com/YounixM)
- [Rajat Dabade](https://github.com/Rajat-Dabade)
#### DevOps
@@ -204,16 +197,12 @@ Du bist dir nicht sicher, wie du anfangen sollst? Schreib uns einfach auf dem #c
<br/><br/>
## Dokumentation
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.
<br/><br/>
## Gemeinschaft
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.
<palign="center">Monitor your applications and troubleshoot problems in your deployed applications, an open-source alternative to DataDog, New Relic, etc.</p>
</p>
<palign="center">All your logs, metrics, and traces in one place. Monitor your application, spot issues before they occur and troubleshoot downtime quickly with rich context. SigNoz is a cost-effective open-source alternative to Datadog and New Relic. Visit <ahref="https://signoz.io"target="_blank">signoz.io</a> for the full documentation, tutorials, and guide.</p>
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.
👉 You can find the root cause of the problem by going to the exact traces which are causing the problem and see detailed flamegraphs of individual request traces.
👉 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
Use SigNoz APM to monitor your applications and services. It comes with out-of-box charts for key application metrics like p99 latency, error rate, Apdex and operations per second. You can also monitor the database and external calls made from your application. Read [more](https://signoz.io/application-performance-monitoring/).
You can [instrument](https://signoz.io/docs/instrumentation/) your application with OpenTelemetry to get started.
SigNoz can be used as a centralized logmanagement solution. We use ClickHouse (used by likes of Uber & Cloudflare) as a datastore, ⎯ an extremely fast and highly optimized storage for logs data. Instantly search through all your logs using quick filters and a powerful query builder.
### Infrastructure Monitoring
You can also create charts on your logs and monitor them with customized dashboards. Read [more](https://signoz.io/log-management/).
Distributed Tracing is essential to troubleshoot issues in microservices applications. Powered by OpenTelemetry, distributed tracing in SigNoz can help you track user requests across services to help you identify performance bottlenecks.
See user requests in a detailed breakdown with the help of Flamegraphs and Gantt Charts. Click on any span to see the entire trace represented beautifully, which will help you make sense of where issues actually occurred in the flow of requests.
Ingest metrics from your infrastructure or applications and create customized dashboards to monitor them. Create visualization that suits your needs with a variety of panel types like pie chart, time-series, bar chart, etc.
Create queries on your metrics data quickly with an easy-to-use metrics query builder. Add multiple queries and combine those queries with formulae to create really complex queries quickly.
Use alerts in SigNoz to get notified when anything unusual happens in your application. You can set alerts on any type of telemetry signal (logs, metrics, traces), create thresholds and set up a notification channel to get notified. Advanced features like alert history and anomaly detection can help you create smarter alerts.
Alerts in SigNoz help you identify issues proactively so that you can address them before they reach your customers.
Monitor exceptions automatically in Python, Java, Ruby, and Javascript. For other languages, just drop in a few lines of code and start monitoring exceptions.
See the detailed stack trace for all exceptions caught in your application. You can also log in custom attributes to add more context to your exceptions. For example, you can add attributes to identify users for which exceptions occurred.
SigNoz is a single tool for all your monitoring and observability needs. Here are a few reasons why you should choose SigNoz:
- Single tool for observability(logs, metrics, and traces)
- Built on top of [OpenTelemetry](https://opentelemetry.io/), the open-source standard which frees you from any type of vendor lock-in
- Correlated logs, metrics and traces for much richer context while debugging
- Uses ClickHouse (used by likes of Uber & Cloudflare) as datastore - an extremely fast and highly optimized storage for observability data
- DIY Query builder, PromQL, and ClickHouse queries to fulfill all your use-cases around querying observability data
- Open-Source - you can use open-source, our [cloud service](https://signoz.io/teams/) or a mix of both based on your use case
## Getting Started
### Create a SigNoz Cloud Account
SigNoz cloud is the easiest way to get started with SigNoz. Our cloud service is for those users who want to spend more time in getting insights for their application performance without worrying about maintenance.
[Get started for free](https://signoz.io/teams/)
### Deploy using Docker(self-hosted)
Please follow the steps listed [here](https://signoz.io/docs/install/docker/) to install using docker
The [troubleshooting instructions](https://signoz.io/docs/install/troubleshooting/) may be helpful if you face any issues.
<p>  </p>
### Deploy in Kubernetes using Helm(self-hosted)
Please follow the steps listed [here](https://signoz.io/docs/deployment/helm_chart) to install using helm charts
<br/><br/>
We also offer managed services in your infra. Check our [pricing plans](https://signoz.io/pricing/) for all details.
## Join our Slack community
@@ -78,64 +141,22 @@ Come say Hi to us on [Slack](https://signoz.io/slack) 👋
<br/><br/>
## Features:
- 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`
- Native support for OpenTelemetry Logs, advanced log query builder, and automatic log collection from k8s cluster
- End-to-End visibility into infrastructure performance, ingest metrics from all kinds of host environments
- Easy to set alerts with DIY query builder
<br/><br/>
## Why SigNoz?
Being developers, we found it annoying to rely on closed source SaaS vendors for every small feature we wanted. Closed source vendors often surprise you with huge month end bills without any transparency.
We wanted to make a self-hosted & open source version of tools like DataDog, NewRelic for companies that have privacy and security concerns about having customer data going to third party services.
Being open source also gives you complete control of your configuration, sampling, uptimes. You can also build modules over SigNoz to extend business specific capabilities
### Languages supported:
We support [OpenTelemetry](https://opentelemetry.io) as the library which you can use to instrument your applications. So any framework and language supported by OpenTelemetry is also supported by SigNoz. Some of the main supported languages are:
SigNoz supports all major programming languages for monitoring. Any framework and language supported by OpenTelemetry is supported by SigNoz. Find instructions for instrumenting different languages below:
You can find the complete list of languages here - https://opentelemetry.io/docs/
<br/><br/>
## Getting Started
### Deploy using Docker
Please follow the steps listed [here](https://signoz.io/docs/install/docker/) to install using docker
The [troubleshooting instructions](https://signoz.io/docs/install/troubleshooting/) may be helpful if you face any issues.
<p>  </p>
### Deploy in Kubernetes using Helm
Please follow the steps listed [here](https://signoz.io/docs/deployment/helm_chart) to install using helm charts
You can find our entire documentation [here](https://signoz.io/docs/introduction/).
<br/><br/>
@@ -144,9 +165,11 @@ Please follow the steps listed [here](https://signoz.io/docs/deployment/helm_cha
### SigNoz vs Prometheus
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, logs and traces, then current experience of stitching together Prometheus &other tools 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.
SigNoz is a one-stop solution for metrics and other telemetry signals. And because you will use the same standard(OpenTelemetry) to collect all telemetry signals, you can also correlate these signals to troubleshoot quickly.
For example, if you see that there are issues with infrastructure metrics of your k8s cluster at a timestamp, you can jump to other signals like logs and traces to understand the issue quickly.
<p>  </p>
@@ -158,6 +181,7 @@ 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
- You can also go from traces to logs easily in SigNoz
<p>  </p>
@@ -198,14 +222,14 @@ Not sure how to get started? Just ping us on `#contributing` in our [slack commu
# 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`
# Notes for Maintainers/Contributors who will change Line Numbers of Frontend & Query-Section. Please Update Line Numbers in `./scripts/commentLinesForSetup.sh` & `./CONTRIBUTING.md`
zap.S().Errorf("[receiveGoogleAuth] sso requested but feature unavailable %s in org domain %s",model.SSO)
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.S().Errorf("[receiveGoogleAuth] failed to login with google auth",q.Get("error_description"))
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.S().Debug("[receiveGoogleAuth] relay state received",zap.String("state",relayState))
zap.L().Debug("[receiveGoogleAuth] relay state received",zap.String("state",relayState))
parsedState,err:=url.Parse(relayState)
iferr!=nil||relayState==""{
zap.S().Errorf("[receiveGoogleAuth] failed to process response - invalid response from IDP",err,r)
zap.L().Error("[receiveGoogleAuth] failed to process response - invalid response from IDP",zap.Error(err),zap.Any("request",r))
zap.S().Errorf("[receiveSAML] sso requested but feature unavailable %s in org domain %s",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.S().Errorf("[receiveSAML] failed to process response - invalid response from IDP",err,r)
zap.L().Error("[receiveSAML] failed to process response - invalid response from IDP",zap.Error(err),zap.Any("request",r))
RespondError(w,&model.ApiError{Typ:model.ErrorForbidden,Err:errors.New("dashboards created by integrations cannot be unlocked")},"You are not authorized to lock/unlock this dashboard")
// str1 := `select fromUnixTimestamp64Milli(intDiv( toUnixTimestamp64Milli ( timestamp ), 100) * 100) AS interval, toFloat64(count()) as count from (select timestamp, spanId, parentSpanId, durationNano from getSubTreeSpans(select * from signoz_traces.signoz_index_v2 where serviceName='frontend' and name='/driver.DriverService/FindNearest' and traceID='00000000000000004b0a863cb5ed7681') where name='FindDriverIDs' group by interval order by interval asc;`
// process the query to fetch subTree query
varsubtreeInputstring
query,subtreeInput,hash=processQuery(query,hash)
err:=r.conn.Exec(ctx,"DROP TABLE IF EXISTS getSubTreeSpans"+hash)
iferr!=nil{
zap.S().Error("Error in dropping temporary table: ",err)
returnquery,hash,err
}
// Create temporary table to store the getSubTreeSpans() results
zap.L().Debug("Alert template data for rule",zap.String("name",r.Name()),zap.String("formatter",valueFormatter.Name()),zap.String("value",value),zap.String("threshold",threshold))
parsedRule.Annotations[labels.AlertSummaryLabel]=fmt.Sprintf("The rule threshold is set to %.4f, and the observed metric value is {{$value}}.",*parsedRule.RuleCondition.Target)
parsedRule.Labels[labels.RuleSourceLabel]=""
parsedRule.Labels[labels.AlertRuleIdLabel]=""
// create a threshold rule
rule,err=baserules.NewThresholdRule(
alertname,
parsedRule,
opts.FF,
opts.Reader,
opts.UseLogsNewSchema,
baserules.WithSendAlways(),
baserules.WithSendUnmatched(),
)
iferr!=nil{
zap.L().Error("failed to prepare a new threshold rule for test",zap.String("name",rule.Name()),zap.Error(err))
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.