Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release/v0.53.x #5800

Merged
merged 67 commits into from
Aug 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
67 commits
Select commit Hold shift + click to select a range
65280cf
feat: support for attribute key suggestions and example queries in lo…
vikrantgupta25 Aug 16, 2024
1b9683d
feat: client changes for query stats (#5706)
vikrantgupta25 Aug 16, 2024
5d903b5
NOOP to Count in alert creation from logs (#5464)
ahmadshaheer Aug 16, 2024
29f1883
chore: add telemetry for dashboards/alerts with tsv2 table (#5677)
srikanthccv Aug 16, 2024
57c45f2
feat(premium-support): add premium-support feature (#5707)
grandwizard28 Aug 16, 2024
0401c27
chore: remove the base URL from the ws config (#5708)
vikrantgupta25 Aug 16, 2024
871e5ad
chore: dashboard and alert names (#5705)
makeavish Aug 16, 2024
79e96e5
chore: added leading slash for for ws URL (#5709)
vikrantgupta25 Aug 16, 2024
f0c9f12
fix: do not use relative URLs for ws connections (#5715)
vikrantgupta25 Aug 20, 2024
ff8df5d
chore: use base prefix of /ws for websocket paths (#5719)
raj-k-singh Aug 20, 2024
98367fd
fix: add missing selected time range variables (#5714)
srikanthccv Aug 20, 2024
5796d6c
feat: rewrite the query builder search component (#5659)
vikrantgupta25 Aug 20, 2024
7cff073
fix: added onDragSelect to DBCall and External metric app (#5694)
SagarRajput-7 Aug 20, 2024
abc8096
chore(codeowners): update codeowners to team (#5726)
grandwizard28 Aug 20, 2024
fa0a065
chore: chat block events (#5725)
makeavish Aug 20, 2024
ab4a8df
feat(packages): add first dedicated confmap, config, version and inst…
grandwizard28 Aug 21, 2024
a207940
chore: added trace explorer test (#5531)
SagarRajput-7 Aug 21, 2024
072693d
fix: nan and inf values in formula result (#5733)
srikanthccv Aug 21, 2024
e7b5410
feat(packages): add registry and http packages (#5740)
grandwizard28 Aug 22, 2024
c322fc7
feat(errors): add errors package (#5741)
grandwizard28 Aug 22, 2024
bfeceb0
feat(web): add web package (#5743)
grandwizard28 Aug 22, 2024
96b8181
feat: add support for changing the font size in logs (#5739)
vikrantgupta25 Aug 22, 2024
ab1caf1
feat: add support for group by attribute in log details (#5753)
vikrantgupta25 Aug 22, 2024
758b10f
fix: raw view css condense fix for line clamp (#5755)
vikrantgupta25 Aug 22, 2024
43ed49f
fix: dashboard names invisible due to same background color (#5758)
YounixM Aug 23, 2024
bd7d14b
feat(render): add render package (#5751)
grandwizard28 Aug 23, 2024
947b5bd
fix: handled defaultTraceSelected for traces list view (#5752)
SagarRajput-7 Aug 23, 2024
33541a2
feat: add view templates option to dashboard menu (#5696)
sharpshooter90 Aug 23, 2024
a2ac49b
fix: remove same origin check and return proper errors from upgrader …
vikrantgupta25 Aug 23, 2024
d7fd1d0
feat: Add option to change max_execution_time setting for clickhouse …
thesnallygaster Aug 23, 2024
b798518
chore: add total count and state filter (#5745)
srikanthccv Aug 23, 2024
7416245
chore: patch for ee
shivanshuraj1333 Aug 23, 2024
1685f0e
Merge pull request #5766 from shivanshuraj1333/patch-for-ee
shivanshuraj1333 Aug 23, 2024
706f967
chore: add extra safety nets in case of malformed URL (#5767)
vikrantgupta25 Aug 23, 2024
22f2e68
fix: colored logs in new logs explorer (#5749)
vikrantgupta25 Aug 26, 2024
9f481aa
feat: enable macro (#5760)
nityanandagohain Aug 26, 2024
3b94dab
chore: small patch to fix consumer_group check
shivanshuraj1333 Aug 26, 2024
464589e
Merge branch 'develop' into tmp
shivanshuraj1333 Aug 26, 2024
6fb2a6d
fix: copy to clipboard not copying complete value in case of numbers …
YounixM Aug 26, 2024
2ca10bb
Merge pull request #5769 from shivanshuraj1333/tmp
shivanshuraj1333 Aug 26, 2024
c2f607a
chore: clean out the logs time range issues / old logs explorer route…
vikrantgupta25 Aug 26, 2024
5cdcbef
feat: add network latency for kafka
shivanshuraj1333 Aug 7, 2024
666f601
feat: change to builder queries
shivanshuraj1333 Aug 26, 2024
413caad
chore: cleanup
shivanshuraj1333 Aug 26, 2024
f508ee7
chore: query, response update
shivanshuraj1333 Aug 26, 2024
90cb8ba
chore: modify producer output
shivanshuraj1333 Aug 26, 2024
8d655bf
chore: use MinAllowedStepInterval
shivanshuraj1333 Aug 27, 2024
4b861b2
fix: remove the checks for aggregate operator in case of metrics v3/v…
vikrantgupta25 Aug 27, 2024
aabf364
feat: add partition level granularity
shivanshuraj1333 Aug 27, 2024
faa6fdf
feat: bug-fix in ClickHouseFormattedValue to allow strings
shivanshuraj1333 Aug 27, 2024
9644297
Merge branch 'develop' into feat/issues/1588
shivanshuraj1333 Aug 27, 2024
7191168
Merge pull request #5652 from shivanshuraj1333/feat/issues/1588
shivanshuraj1333 Aug 27, 2024
8468cc8
fix: double encode composite query for explorer links (#5777)
srikanthccv Aug 28, 2024
3200fd0
fix: redirect users to previous page after clicking back on onboardin…
rahulkeswani101 Aug 28, 2024
532f274
fix: changing color of beta tag for Service Map & light theme changer…
pranay01 Aug 28, 2024
140533b
feat: added Messaging queue detail page (#5690)
SagarRajput-7 Aug 29, 2024
15b0569
fix: show add credit card modal only for cloud users (#5797)
YounixM Aug 29, 2024
fb92ddc
chore: added trace detail tests (#5523)
SagarRajput-7 Aug 29, 2024
2f0d98a
chore: added trace views test (#5519)
SagarRajput-7 Aug 29, 2024
690ed0f
Merge branch 'main' into release/v0.53.x
prashant-shahi Aug 29, 2024
0a14691
chore(signoz): 📌 pin versions: SigNoz 0.53.0, SigNoz OtelCollector 0.…
prashant-shahi Aug 29, 2024
4295a27
chore: remove old data migrations (#5802)
srikanthccv Aug 29, 2024
44598e3
chore: remove feature usage code from manager (#5803)
srikanthccv Aug 29, 2024
dde4485
chore: add types for alert type, state, and rule data kind (#5804)
srikanthccv Aug 30, 2024
363fb7b
feat: Kafka UI feedbacks (#5801)
SagarRajput-7 Aug 30, 2024
6684640
Merge branch 'develop' into release/v0.53.x
prashant-shahi Aug 30, 2024
43cc6de
chore(signoz): 📌 pin versions: SigNoz OtelCollector 0.102.7
prashant-shahi Aug 30, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
/frontend/ @YounixM
/frontend/src/container/MetricsApplication @srikanthccv
/frontend/src/container/NewWidget/RightContainer/types.ts @srikanthccv
/deploy/ @prashant-shahi
/sample-apps/ @prashant-shahi
.github @prashant-shahi
/deploy/ @SigNoz/devops
/sample-apps/ @SigNoz/devops
.github @SigNoz/devops
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,6 @@ e2e/.auth
# go
vendor/
**/main/**

# git-town
.git-branches.toml
4 changes: 2 additions & 2 deletions deploy/docker-swarm/clickhouse-setup/clickhouse-config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -649,12 +649,12 @@

See https://clickhouse.com/docs/en/engines/table-engines/mergetree-family/replication/#creating-replicated-tables
-->
<!--

<macros>
<shard>01</shard>
<replica>example01-01-1</replica>
</macros>
-->



<!-- Reloading interval for embedded dictionaries, in seconds. Default: 3600. -->
Expand Down
8 changes: 4 additions & 4 deletions deploy/docker-swarm/clickhouse-setup/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ services:
condition: on-failure

query-service:
image: signoz/query-service:0.52.0
image: signoz/query-service:0.53.0
command:
[
"-config=/root/config/prometheus.yml",
Expand Down Expand Up @@ -186,7 +186,7 @@ services:
<<: *db-depend

frontend:
image: signoz/frontend:0.52.0
image: signoz/frontend:0.53.0
deploy:
restart_policy:
condition: on-failure
Expand All @@ -199,7 +199,7 @@ services:
- ../common/nginx-config.conf:/etc/nginx/conf.d/default.conf

otel-collector:
image: signoz/signoz-otel-collector:0.102.4
image: signoz/signoz-otel-collector:0.102.7
command:
[
"--config=/etc/otel-collector-config.yaml",
Expand Down Expand Up @@ -238,7 +238,7 @@ services:
- query-service

otel-collector-migrator:
image: signoz/signoz-schema-migrator:0.102.4
image: signoz/signoz-schema-migrator:0.102.7
deploy:
restart_policy:
condition: on-failure
Expand Down
4 changes: 2 additions & 2 deletions deploy/docker/clickhouse-setup/clickhouse-config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -649,12 +649,12 @@

See https://clickhouse.com/docs/en/engines/table-engines/mergetree-family/replication/#creating-replicated-tables
-->
<!--

<macros>
<shard>01</shard>
<replica>example01-01-1</replica>
</macros>
-->



<!-- Reloading interval for embedded dictionaries, in seconds. Default: 3600. -->
Expand Down
4 changes: 2 additions & 2 deletions deploy/docker/clickhouse-setup/docker-compose-core.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ services:
- --storage.path=/data

otel-collector-migrator:
image: signoz/signoz-schema-migrator:${OTELCOL_TAG:-0.102.4}
image: signoz/signoz-schema-migrator:${OTELCOL_TAG:-0.102.7}
container_name: otel-migrator
command:
- "--dsn=tcp://clickhouse:9000"
Expand All @@ -81,7 +81,7 @@ services:
# Notes for Maintainers/Contributors who will change Line Numbers of Frontend & Query-Section. Please Update Line Numbers in `./scripts/commentLinesForSetup.sh` & `./CONTRIBUTING.md`
otel-collector:
container_name: signoz-otel-collector
image: signoz/signoz-otel-collector:0.102.4
image: signoz/signoz-otel-collector:0.102.7
command:
[
"--config=/etc/otel-collector-config.yaml",
Expand Down
8 changes: 4 additions & 4 deletions deploy/docker/clickhouse-setup/docker-compose.testing.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ services:
# Notes for Maintainers/Contributors who will change Line Numbers of Frontend & Query-Section. Please Update Line Numbers in `./scripts/commentLinesForSetup.sh` & `./CONTRIBUTING.md`

query-service:
image: signoz/query-service:${DOCKER_TAG:-0.52.0}
image: signoz/query-service:${DOCKER_TAG:-0.53.0}
container_name: signoz-query-service
command:
[
Expand Down Expand Up @@ -204,7 +204,7 @@ services:
<<: *db-depend

frontend:
image: signoz/frontend:${DOCKER_TAG:-0.52.0}
image: signoz/frontend:${DOCKER_TAG:-0.53.0}
container_name: signoz-frontend
restart: on-failure
depends_on:
Expand All @@ -216,7 +216,7 @@ services:
- ../common/nginx-config.conf:/etc/nginx/conf.d/default.conf

otel-collector-migrator:
image: signoz/signoz-schema-migrator:${OTELCOL_TAG:-0.102.4}
image: signoz/signoz-schema-migrator:${OTELCOL_TAG:-0.102.7}
container_name: otel-migrator
command:
- "--dsn=tcp://clickhouse:9000"
Expand All @@ -230,7 +230,7 @@ services:


otel-collector:
image: signoz/signoz-otel-collector:${OTELCOL_TAG:-0.102.4}
image: signoz/signoz-otel-collector:${OTELCOL_TAG:-0.102.7}
container_name: signoz-otel-collector
command:
[
Expand Down
8 changes: 4 additions & 4 deletions deploy/docker/clickhouse-setup/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ services:
# Notes for Maintainers/Contributors who will change Line Numbers of Frontend & Query-Section. Please Update Line Numbers in `./scripts/commentLinesForSetup.sh` & `./CONTRIBUTING.md`

query-service:
image: signoz/query-service:${DOCKER_TAG:-0.52.0}
image: signoz/query-service:${DOCKER_TAG:-0.53.0}
container_name: signoz-query-service
command:
[
Expand Down Expand Up @@ -203,7 +203,7 @@ services:
<<: *db-depend

frontend:
image: signoz/frontend:${DOCKER_TAG:-0.52.0}
image: signoz/frontend:${DOCKER_TAG:-0.53.0}
container_name: signoz-frontend
restart: on-failure
depends_on:
Expand All @@ -215,7 +215,7 @@ services:
- ../common/nginx-config.conf:/etc/nginx/conf.d/default.conf

otel-collector-migrator:
image: signoz/signoz-schema-migrator:${OTELCOL_TAG:-0.102.4}
image: signoz/signoz-schema-migrator:${OTELCOL_TAG:-0.102.7}
container_name: otel-migrator
command:
- "--dsn=tcp://clickhouse:9000"
Expand All @@ -229,7 +229,7 @@ services:


otel-collector:
image: signoz/signoz-otel-collector:${OTELCOL_TAG:-0.102.4}
image: signoz/signoz-otel-collector:${OTELCOL_TAG:-0.102.7}
container_name: signoz-otel-collector
command:
[
Expand Down
13 changes: 13 additions & 0 deletions deploy/docker/common/nginx-config.conf
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
map $http_upgrade $connection_upgrade {
default upgrade;
'' close;
}

server {
listen 3301;
server_name _;
Expand Down Expand Up @@ -42,6 +47,14 @@ server {
proxy_read_timeout 600s;
}

location /ws {
proxy_pass http://query-service:8080/ws;
proxy_http_version 1.1;
proxy_set_header Upgrade "websocket";
proxy_set_header Connection "upgrade";
proxy_read_timeout 86400;
}

# redirect server error pages to the static page /50x.html
#
error_page 500 502 503 504 /50x.html;
Expand Down
10 changes: 10 additions & 0 deletions ee/query-service/app/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,8 @@ func (s *Server) createPublicServer(apiHandler *api.APIHandler) (*http.Server, e
apiHandler.RegisterIntegrationRoutes(r, am)
apiHandler.RegisterQueryRangeV3Routes(r, am)
apiHandler.RegisterQueryRangeV4Routes(r, am)
apiHandler.RegisterWebSocketPaths(r, am)
apiHandler.RegisterMessagingQueuesRoutes(r, am)

c := cors.New(cors.Options{
AllowedOrigins: []string{"*"},
Expand All @@ -375,6 +377,7 @@ func (s *Server) createPublicServer(apiHandler *api.APIHandler) (*http.Server, e
}, nil
}

// TODO(remove): Implemented at pkg/http/middleware/logging.go
// loggingMiddleware is used for logging public api calls
func loggingMiddleware(next http.Handler) http.Handler {
return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
Expand All @@ -386,6 +389,7 @@ func loggingMiddleware(next http.Handler) http.Handler {
})
}

// TODO(remove): Implemented at pkg/http/middleware/logging.go
// loggingMiddlewarePrivate is used for logging private api calls
// from internal services like alert manager
func loggingMiddlewarePrivate(next http.Handler) http.Handler {
Expand All @@ -398,27 +402,32 @@ func loggingMiddlewarePrivate(next http.Handler) http.Handler {
})
}

// TODO(remove): Implemented at pkg/http/middleware/logging.go
type loggingResponseWriter struct {
http.ResponseWriter
statusCode int
}

// TODO(remove): Implemented at pkg/http/middleware/logging.go
func NewLoggingResponseWriter(w http.ResponseWriter) *loggingResponseWriter {
// WriteHeader(int) is not called if our response implicitly returns 200 OK, so
// we default to that status code.
return &loggingResponseWriter{w, http.StatusOK}
}

// TODO(remove): Implemented at pkg/http/middleware/logging.go
func (lrw *loggingResponseWriter) WriteHeader(code int) {
lrw.statusCode = code
lrw.ResponseWriter.WriteHeader(code)
}

// TODO(remove): Implemented at pkg/http/middleware/logging.go
// Flush implements the http.Flush interface.
func (lrw *loggingResponseWriter) Flush() {
lrw.ResponseWriter.(http.Flusher).Flush()
}

// TODO(remove): Implemented at pkg/http/middleware/logging.go
// Support websockets
func (lrw *loggingResponseWriter) Hijack() (net.Conn, *bufio.ReadWriter, error) {
h, ok := lrw.ResponseWriter.(http.Hijacker)
Expand Down Expand Up @@ -564,6 +573,7 @@ func (s *Server) analyticsMiddleware(next http.Handler) http.Handler {
})
}

// TODO(remove): Implemented at pkg/http/middleware/timeout.go
func setTimeoutMiddleware(next http.Handler) http.Handler {
return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
ctx := r.Context()
Expand Down
22 changes: 22 additions & 0 deletions ee/query-service/model/plans.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ const DisableUpsell = "DISABLE_UPSELL"
const Onboarding = "ONBOARDING"
const ChatSupport = "CHAT_SUPPORT"
const Gateway = "GATEWAY"
const PremiumSupport = "PREMIUM_SUPPORT"

var BasicPlan = basemodel.FeatureSet{
basemodel.Feature{
Expand Down Expand Up @@ -119,6 +120,13 @@ var BasicPlan = basemodel.FeatureSet{
UsageLimit: -1,
Route: "",
},
basemodel.Feature{
Name: PremiumSupport,
Active: false,
Usage: 0,
UsageLimit: -1,
Route: "",
},
}

var ProPlan = basemodel.FeatureSet{
Expand Down Expand Up @@ -220,6 +228,13 @@ var ProPlan = basemodel.FeatureSet{
UsageLimit: -1,
Route: "",
},
basemodel.Feature{
Name: PremiumSupport,
Active: true,
Usage: 0,
UsageLimit: -1,
Route: "",
},
}

var EnterprisePlan = basemodel.FeatureSet{
Expand Down Expand Up @@ -335,4 +350,11 @@ var EnterprisePlan = basemodel.FeatureSet{
UsageLimit: -1,
Route: "",
},
basemodel.Feature{
Name: PremiumSupport,
Active: true,
Usage: 0,
UsageLimit: -1,
Route: "",
},
}
1 change: 1 addition & 0 deletions frontend/public/Icons/groupBy.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions frontend/public/Icons/solid-x-circle.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions frontend/public/locales/en/dashboard.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"create_dashboard": "Create Dashboard",
"import_json": "Import Dashboard JSON",
"view_template": "View templates",
"import_grafana_json": "Import Grafana JSON",
"copy_to_clipboard": "Copy To ClipBoard",
"download_json": "Download JSON",
Expand Down
3 changes: 2 additions & 1 deletion frontend/public/locales/en/titles.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,6 @@
"TRACES_SAVE_VIEWS": "SigNoz | Traces Saved Views",
"DEFAULT": "Open source Observability Platform | SigNoz",
"SHORTCUTS": "SigNoz | Shortcuts",
"INTEGRATIONS": "SigNoz | Integrations"
"INTEGRATIONS": "SigNoz | Integrations",
"MESSAGING_QUEUES": "SigNoz | Messaging Queues"
}
12 changes: 12 additions & 0 deletions frontend/src/AppRoutes/pageComponents.ts
Original file line number Diff line number Diff line change
Expand Up @@ -204,3 +204,15 @@ export const InstalledIntegrations = Loadable(
/* webpackChunkName: "InstalledIntegrations" */ 'pages/IntegrationsModulePage'
),
);

export const MessagingQueues = Loadable(
() =>
import(/* webpackChunkName: "MessagingQueues" */ 'pages/MessagingQueues'),
);

export const MQDetailPage = Loadable(
() =>
import(
/* webpackChunkName: "MQDetailPage" */ 'pages/MessagingQueues/MQDetailPage'
),
);
16 changes: 16 additions & 0 deletions frontend/src/AppRoutes/routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ import {
LogsExplorer,
LogsIndexToFields,
LogsSaveViews,
MessagingQueues,
MQDetailPage,
MySettings,
NewDashboardPage,
OldLogsExplorer,
Expand Down Expand Up @@ -351,6 +353,20 @@ const routes: AppRoutes[] = [
isPrivate: true,
key: 'INTEGRATIONS',
},
{
path: ROUTES.MESSAGING_QUEUES,
exact: true,
component: MessagingQueues,
key: 'MESSAGING_QUEUES',
isPrivate: true,
},
{
path: ROUTES.MESSAGING_QUEUES_DETAIL,
exact: true,
component: MQDetailPage,
key: 'MESSAGING_QUEUES_DETAIL',
isPrivate: true,
},
];

export const SUPPORT_ROUTE: AppRoutes = {
Expand Down
Loading
Loading