Skip to content

Commit ec0185d

Browse files
Merge branch 'develop' into release/v0.43.x
2 parents cd63dd9 + fc2bdb6 commit ec0185d

File tree

73 files changed

+1285
-1748
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

73 files changed

+1285
-1748
lines changed

ee/query-service/app/api/api.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,6 @@ func (ah *APIHandler) RegisterRoutes(router *mux.Router, am *baseapp.AuthMiddlew
152152
router.HandleFunc("/api/v1/register", am.OpenAccess(ah.registerUser)).Methods(http.MethodPost)
153153
router.HandleFunc("/api/v1/login", am.OpenAccess(ah.loginUser)).Methods(http.MethodPost)
154154
router.HandleFunc("/api/v1/traces/{traceId}", am.ViewAccess(ah.searchTraces)).Methods(http.MethodGet)
155-
router.HandleFunc("/api/v2/metrics/query_range", am.ViewAccess(ah.queryRangeMetricsV2)).Methods(http.MethodPost)
156155

157156
// PAT APIs
158157
router.HandleFunc("/api/v1/pats", am.AdminAccess(ah.createPAT)).Methods(http.MethodPost)

ee/query-service/app/api/metrics.go

Lines changed: 0 additions & 236 deletions
This file was deleted.

ee/query-service/app/server.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,6 @@ func (s *Server) createPublicServer(apiHandler *api.APIHandler) (*http.Server, e
329329
r.Use(loggingMiddleware)
330330

331331
apiHandler.RegisterRoutes(r, am)
332-
apiHandler.RegisterMetricsRoutes(r, am)
333332
apiHandler.RegisterLogsRoutes(r, am)
334333
apiHandler.RegisterIntegrationRoutes(r, am)
335334
apiHandler.RegisterQueryRangeV3Routes(r, am)

frontend/package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@
4444
"@sentry/webpack-plugin": "2.16.0",
4545
"@signozhq/design-tokens": "0.0.8",
4646
"@uiw/react-md-editor": "3.23.5",
47+
"@visx/group": "3.3.0",
48+
"@visx/shape": "3.5.0",
49+
"@visx/tooltip": "3.3.0",
4750
"@xstate/react": "^3.0.0",
4851
"ansi-to-html": "0.7.2",
4952
"antd": "5.11.0",

frontend/public/locales/en-GB/channels.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"button_test_channel": "Test",
1616
"button_return": "Back",
1717
"field_channel_name": "Name",
18+
"field_send_resolved": "Send resolved alerts",
1819
"field_channel_type": "Type",
1920
"field_webhook_url": "Webhook URL",
2021
"field_slack_recipient": "Recipient",

frontend/public/locales/en/channels.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"button_test_channel": "Test",
1616
"button_return": "Back",
1717
"field_channel_name": "Name",
18+
"field_send_resolved": "Send resolved alerts",
1819
"field_channel_type": "Type",
1920
"field_webhook_url": "Webhook URL",
2021
"field_slack_recipient": "Recipient",

frontend/src/api/channels/createEmail.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const create = async (
1212
name: props.name,
1313
email_configs: [
1414
{
15-
send_resolved: true,
15+
send_resolved: props.send_resolved,
1616
to: props.to,
1717
html: props.html,
1818
headers: props.headers,

frontend/src/api/channels/createMsTeams.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const create = async (
1212
name: props.name,
1313
msteams_configs: [
1414
{
15-
send_resolved: true,
15+
send_resolved: props.send_resolved,
1616
webhook_url: props.webhook_url,
1717
title: props.title,
1818
text: props.text,

frontend/src/api/channels/createPager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const create = async (
1212
name: props.name,
1313
pagerduty_configs: [
1414
{
15-
send_resolved: true,
15+
send_resolved: props.send_resolved,
1616
routing_key: props.routing_key,
1717
client: props.client,
1818
client_url: props.client_url,

frontend/src/api/channels/createSlack.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const create = async (
1212
name: props.name,
1313
slack_configs: [
1414
{
15-
send_resolved: true,
15+
send_resolved: props.send_resolved,
1616
api_url: props.api_url,
1717
channel: props.channel,
1818
title: props.title,

0 commit comments

Comments
 (0)