Skip to content
Merged

Main #19

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
107 commits
Select commit Hold shift + click to select a range
9cebd49
fix: anomaly with below operator negates the target (#9288)
srikanthccv Oct 8, 2025
8c29deb
fix: use numerical comparison instead of lexicographical for string-e…
nityanandagohain Oct 8, 2025
a96489d
feat(authz): address tenant isolation for authz (#9293)
vikrantgupta25 Oct 8, 2025
da17375
Preferences framework re-factor (#9206)
aks07 Oct 9, 2025
d26b57b
feat: added new datasources (#9167)
Calm-Rock Oct 9, 2025
6c59b54
chore(release): bump to v0.97.0 (#9305)
primus-bot[bot] Oct 10, 2025
3123447
Added integration tests for TTL methods (#9289)
tushar-signoz Oct 10, 2025
5005cae
fix: edit alerts crash (#9310)
amlannandy Oct 12, 2025
43a6c7d
feat: add abs value function in formula (#9315)
niladrix719 Oct 12, 2025
416e8d2
fix: panic from label set conversion (#9316)
srikanthccv Oct 12, 2025
a4f24a2
feat(meter): better defaults in cost meter and user improvement (#9328)
vikrantgupta25 Oct 13, 2025
dcc902f
chore(statsreporter): fix vultr platform detection in statsreporter (…
Nageshbansal Oct 13, 2025
264af06
fix: added fix for changelog paragraph font weight (#9331)
ahrefabhi Oct 14, 2025
c62d41e
feat(sql): swap mattn/sqlite with modernc.org/sqlite (#9325)
vikrantgupta25 Oct 14, 2025
934c09b
feat(sql): increase busy timeout (#9336)
vikrantgupta25 Oct 14, 2025
800a34e
Revert "feat(sql): increase busy timeout (#9336)" (#9337)
vikrantgupta25 Oct 14, 2025
bac8f8b
Revert "feat(sql): swap mattn/sqlite with modernc.org/sqlite (#9325)"…
vikrantgupta25 Oct 14, 2025
ecd9498
feat: add bidirectional keys for http.url and net.peer.name (#9208)
eKuG Oct 14, 2025
1267f9a
chore: add feedback button text (#9335)
makeavish Oct 14, 2025
457b697
fix: prevent queryKey overide by options (#9344)
aks07 Oct 15, 2025
d22039b
fix: show list options even in traces explorer empty / error states (…
ahmadshaheer Oct 16, 2025
c122bc0
feat(tokenizer|sso): add tokenizer for session management and oidc ss…
therealpandey Oct 16, 2025
1793026
fix(tokenizer): fix cache invalidation on delete (#9352)
therealpandey Oct 16, 2025
b8cf0a3
chore: fix legends representation in non-metric non-qb queries (#9351)
amlannandy Oct 17, 2025
6d41606
fix: legacy logs ttl (#9345)
tushar-signoz Oct 17, 2025
84adb3e
chore(codeowners): update username (#9359)
psshri Oct 17, 2025
a28ccff
fix(instrumentation): initialize noop if metrics is not enabled (#9365)
therealpandey Oct 18, 2025
8a0c5bc
fix: trace details bugfixes and improvements (#9155)
ahmadshaheer Oct 19, 2025
db5c102
fix: make trace details attributes search visible by default (#9247)
ahmadshaheer Oct 19, 2025
7653707
Add Mastra doc and update onboarding configuration (#9372)
makeavish Oct 19, 2025
c919102
chore: update on headers package version (#9376)
YounixM Oct 20, 2025
c8194e9
fix(tokenizer): update the authn domains tooltips (#9388)
vikrantgupta25 Oct 21, 2025
d539ca9
feat(sql): swap mattn/sqlite with modernc.org/sqlite (#9343)
vikrantgupta25 Oct 21, 2025
b044276
chore(release): bump to v0.98.0 (#9393)
primus-bot[bot] Oct 22, 2025
88f7502
fix: prevent memory leaks from uncleaned uPlot event listeners (#9320)
ahrefabhi Oct 22, 2025
b4e5085
fix(sqlschema): postgres sqlschema get table operation (#9395)
vikrantgupta25 Oct 22, 2025
d05d394
chore: update slow running test in tracesExplorer test (#9396)
SagarRajput-7 Oct 23, 2025
64e379c
chore(statsreporter): adds statscollector for config (#9407)
Nageshbansal Oct 24, 2025
437d0d1
feat: added variable in url and made dashboard sync around that and s…
SagarRajput-7 Oct 25, 2025
e05ede3
fix: fix threshold validation mismatch (#9196)
SagarRajput-7 Oct 25, 2025
c8419c1
fix: changed metric time and space type reset and change logic (#9066)
SagarRajput-7 Oct 25, 2025
fa97e63
fix: added test cases for exportoption wrapper and export function (#…
SagarRajput-7 Oct 25, 2025
95f8fa1
fix: fix drag select not working in panel edit mode (#9130)
SagarRajput-7 Oct 25, 2025
624bb5c
chore: enable editing of unit from metric details (#8839)
amlannandy Oct 25, 2025
55c2f98
fix: removed option param cleanup from variable function (#9411)
SagarRajput-7 Oct 26, 2025
5f8cfbe
feat(quick-filters): improve filter visibility and auto-open behavior…
ahmadshaheer Oct 26, 2025
bdce97a
fix: replace fmt.Errorf with signoz/pkg/errors and update golangci-li…
pkalsi97 Oct 27, 2025
44d1d0f
feat(logs-context): implement priority-based resource attribute selec…
ahmadshaheer Oct 27, 2025
0d1131e
chore: add data test ids for alerts e2e tests (#9384)
amlannandy Oct 27, 2025
7b1ca9a
Fix: Escape HTML rendering in log body (#9413)
aks07 Oct 28, 2025
a061c9d
feat: double encode view query (#9429)
aks07 Oct 28, 2025
2f5995b
feat: changed cold storage duration to seconds in v1 (#9405)
eKuG Oct 28, 2025
718360a
feat: enhance s3 logs retention handling (#9371)
ahmadshaheer Oct 28, 2025
1655397
feat: allowing switching between views when groupby is present (#9386)
YounixM Oct 29, 2025
1285666
chore(release): bump to v0.99.0 (#9431)
primus-bot[bot] Oct 29, 2025
3dced2b
chore(costmeter): enable costmeter by default in docker installations…
Nageshbansal Oct 29, 2025
bdecbfb
chore: add missing unit tests for getLegend (#9374)
amlannandy Oct 29, 2025
e90bb01
feat: add span percentile for traces (#8955)
eKuG Oct 29, 2025
01e0b36
fix: overall improvements to span logs drawer empty state (i.e. trace…
ahmadshaheer Oct 29, 2025
f8e0db0
chore: bump golangci-lint to the latest version (#9445)
therealpandey Oct 30, 2025
6db74a5
feat: allow custom precision in dashboard panels (#9054)
SagarRajput-7 Oct 30, 2025
adfd16c
fix: adapt the scroll reset fix in alert and histogram panels (#9322)
SagarRajput-7 Oct 30, 2025
c8266d1
fix: upgraded the axios resolution to fix vulnerability (#9454)
SagarRajput-7 Oct 31, 2025
5ef0a18
Update CODEOWNERS for frontend code (#9456)
YounixM Oct 31, 2025
4b21c9d
feat: add result count to data source search analytics event (#9444)
makeavish Oct 31, 2025
155a44a
feat: add support for infra metrics in trace details (#8911)
ahmadshaheer Nov 1, 2025
f5bf429
feat: span percentile - UI (#9397)
YounixM Nov 1, 2025
fd216fd
feat(meter): add ability to query meter data across product modules (…
YounixM Nov 2, 2025
c9591f4
fix: formatted threshold unit in description and summary (#9350)
aniketio-ctrl Nov 2, 2025
c1a4a5b
Log Details minor ui fix (#9463)
aks07 Nov 3, 2025
105c3a3
fix: return coldstorage -1 if not set for logs (#9471)
nityanandagohain Nov 3, 2025
bbf987e
fix: removing duplicate creation of user if user does not exist alrea…
swapnil-signoz Nov 3, 2025
e7772d9
fix: flaky multi ingestion settings test (#9478)
YounixM Nov 3, 2025
f5bcd65
feat: update styles for percentile value (#9477)
YounixM Nov 3, 2025
3eff689
fix: fix the issue of save button incorrectly enabled when cold_stora…
ahmadshaheer Nov 4, 2025
83aad79
fix: alignment issues in home page (#9459)
YounixM Nov 4, 2025
287558d
refactor: migrate External API's top 10 errors query_range request to…
ahmadshaheer Nov 4, 2025
83eeb46
feat(sqlstore): added sql formatter for json (#9420)
aniketio-ctrl Nov 4, 2025
6d83184
perf: optimize tooltip plugin with caching, memoization, and improved…
ahrefabhi Nov 4, 2025
c9e0f2b
fix: removed cleanup variable url function to avoid url reseting (#9449)
SagarRajput-7 Nov 4, 2025
c25e3be
feat: changed descirption of span percentile calculation (#9487)
eKuG Nov 5, 2025
0a60c49
chore(release): bump to v0.100.0 (#9488)
primus-bot[bot] Nov 5, 2025
1158e11
Fix: filter with time in span scope condition builder (#9426)
nikhilmantri0902 Nov 5, 2025
bd63633
fix: do not format for non aggregation columns (#9492)
srikanthccv Nov 5, 2025
bf92c92
chore(release): bump to v0.100.1 (#9499)
primus-bot[bot] Nov 6, 2025
c7e4a9c
Fix: uplot dense points selection (#9469)
aks07 Nov 6, 2025
8752022
fix: updated dashboard panel colors for better contrast ratio (#9500)
ahrefabhi Nov 6, 2025
785ae9f
feat: pass email if username is not set - pylon (#9526)
YounixM Nov 10, 2025
89639b2
feat: convert duration ms to string to be passed to getYAxisFormatted…
YounixM Nov 10, 2025
4437630
fix(tokenizer): do not retry 401 email_password session request (#9541)
vikrantgupta25 Nov 10, 2025
e5f4f5c
fix: preserve SMTPRequireTLS during default merge (#8478) (#9418)
pkalsi97 Nov 10, 2025
b7ece08
fix: aggregation options for metric in alert condition do not get upd…
amlannandy Nov 11, 2025
e9743fa
feat: bump cloud agent version to 0.0.6 (#9298)
tushar-signoz Nov 11, 2025
c44efea
fix(sessions): do not use axios base instance (#9556)
vikrantgupta25 Nov 11, 2025
ad631d7
fix: add key to allow side bar nav on error thrown (#9560)
aks07 Nov 11, 2025
fb9a7ad
chore: update integration dashboard json to v5 (#9534)
srikanthccv Nov 11, 2025
9f089e0
fix(pagerduty): add severity for labels (#9538)
srikanthccv Nov 12, 2025
02755a6
chore(release): bump to v0.101.0 (#9566)
primus-bot[bot] Nov 12, 2025
db75ec5
chore: update Services to use QBV5 (#9287)
nikhilmantri0902 Nov 12, 2025
2f4e371
Fix: Preserve query on navigation b/w views | Logs Explorer code clea…
aks07 Nov 12, 2025
56f8e53
refactor: migrate status code table to v5 (#9546)
ahmadshaheer Nov 12, 2025
dbb6b33
feat: reset error boundary on pathname change (#9570)
YounixM Nov 13, 2025
245179c
feat(authz): openfga sql migration (#9580)
vikrantgupta25 Nov 13, 2025
1a19301
refactor: PostableRule struct (#9448)
abhishekhugetech Nov 13, 2025
54b67d9
feat: add bounded cache for opaque tokenizer only for last observed a…
balanikaran Nov 14, 2025
fbb66f1
chore: improve otel demo app setup with docker based signoz (#9567)
balanikaran Nov 14, 2025
0062b2f
Merge branch 'SigNoz:main' into main
murali-zenskar Nov 17, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions .devenv/docker/clickhouse/compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ services:
timeout: 5s
retries: 3
schema-migrator-sync:
image: signoz/signoz-schema-migrator:v0.129.6
image: signoz/signoz-schema-migrator:v0.129.8
container_name: schema-migrator-sync
command:
- sync
Expand All @@ -55,7 +55,7 @@ services:
condition: service_healthy
restart: on-failure
schema-migrator-async:
image: signoz/signoz-schema-migrator:v0.129.6
image: signoz/signoz-schema-migrator:v0.129.8
container_name: schema-migrator-async
command:
- async
Expand Down
18 changes: 9 additions & 9 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Owners are automatically requested for review for PRs that changes code
# that they own.

/frontend/ @SigNoz/frontend @YounixM
/frontend/ @YounixM @aks07
/frontend/src/container/MetricsApplication @srikanthccv
/frontend/src/container/NewWidget/RightContainer/types.ts @srikanthccv

Expand Down Expand Up @@ -48,13 +48,13 @@
.github @SigNoz/devops

# Scaffold Owners
/pkg/config/ @grandwizard28
/pkg/errors/ @grandwizard28
/pkg/factory/ @grandwizard28
/pkg/types/ @grandwizard28
/pkg/valuer/ @grandwizard28
/cmd/ @grandwizard28
.golangci.yml @grandwizard28
/pkg/config/ @therealpandey
/pkg/errors/ @therealpandey
/pkg/factory/ @therealpandey
/pkg/types/ @therealpandey
/pkg/valuer/ @therealpandey
/cmd/ @therealpandey
.golangci.yml @therealpandey

# Zeus Owners
/pkg/zeus/ @vikrantgupta25
Expand Down Expand Up @@ -84,4 +84,4 @@

# AuthN / AuthZ Owners

/pkg/authz/ @vikrantgupta25 @grandwizard28
/pkg/authz/ @vikrantgupta25 @therealpandey
7 changes: 3 additions & 4 deletions .github/workflows/build-community.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ name: build-community
on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
- 'v[0-9]+.[0-9]+.[0-9]+-rc.[0-9]+'
- "v[0-9]+.[0-9]+.[0-9]+"
- "v[0-9]+.[0-9]+.[0-9]+-rc.[0-9]+"

defaults:
run:
Expand Down Expand Up @@ -69,14 +69,13 @@ jobs:
GO_BUILD_CONTEXT: ./cmd/community
GO_BUILD_FLAGS: >-
-tags timetzdata
-ldflags='-linkmode external -extldflags \"-static\" -s -w
-ldflags='-s -w
-X github.com/SigNoz/signoz/pkg/version.version=${{ needs.prepare.outputs.version }}
-X github.com/SigNoz/signoz/pkg/version.variant=community
-X github.com/SigNoz/signoz/pkg/version.hash=${{ needs.prepare.outputs.hash }}
-X github.com/SigNoz/signoz/pkg/version.time=${{ needs.prepare.outputs.time }}
-X github.com/SigNoz/signoz/pkg/version.branch=${{ needs.prepare.outputs.branch }}
-X github.com/SigNoz/signoz/pkg/analytics.key=9kRrJ7oPCGPEJLF6QjMPLt5bljFhRQBr'
GO_CGO_ENABLED: 1
DOCKER_BASE_IMAGES: '{"alpine": "alpine:3.20.3"}'
DOCKER_DOCKERFILE_PATH: ./cmd/community/Dockerfile.multi-arch
DOCKER_MANIFEST: true
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/build-enterprise.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ jobs:
JS_INPUT_ARTIFACT_CACHE_KEY: enterprise-dotenv-${{ github.sha }}
JS_INPUT_ARTIFACT_PATH: frontend/.env
JS_OUTPUT_ARTIFACT_CACHE_KEY: enterprise-jsbuild-${{ github.sha }}
JS_OUTPUT_ARTIFACT_PATH: frontend/build
JS_OUTPUT_ARTIFACT_PATH: frontend/build
DOCKER_BUILD: false
DOCKER_MANIFEST: false
go-build:
Expand All @@ -99,18 +99,16 @@ jobs:
GO_BUILD_CONTEXT: ./cmd/enterprise
GO_BUILD_FLAGS: >-
-tags timetzdata
-ldflags='-linkmode external -extldflags \"-static\" -s -w
-ldflags='-s -w
-X github.com/SigNoz/signoz/pkg/version.version=${{ needs.prepare.outputs.version }}
-X github.com/SigNoz/signoz/pkg/version.variant=enterprise
-X github.com/SigNoz/signoz/pkg/version.hash=${{ needs.prepare.outputs.hash }}
-X github.com/SigNoz/signoz/pkg/version.time=${{ needs.prepare.outputs.time }}
-X github.com/SigNoz/signoz/pkg/version.branch=${{ needs.prepare.outputs.branch }}
-X github.com/SigNoz/signoz/ee/zeus.url=https://api.signoz.cloud
-X github.com/SigNoz/signoz/ee/zeus.deprecatedURL=https://license.signoz.io
-X github.com/SigNoz/signoz/ee/query-service/constants.ZeusURL=https://api.signoz.cloud
-X github.com/SigNoz/signoz/ee/query-service/constants.LicenseSignozIo=https://license.signoz.io/api/v1
-X github.com/SigNoz/signoz/pkg/analytics.key=9kRrJ7oPCGPEJLF6QjMPLt5bljFhRQBr'
GO_CGO_ENABLED: 1
DOCKER_BASE_IMAGES: '{"alpine": "alpine:3.20.3"}'
DOCKER_DOCKERFILE_PATH: ./cmd/enterprise/Dockerfile.multi-arch
DOCKER_MANIFEST: true
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/build-staging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -98,18 +98,16 @@ jobs:
GO_BUILD_CONTEXT: ./cmd/enterprise
GO_BUILD_FLAGS: >-
-tags timetzdata
-ldflags='-linkmode external -extldflags \"-static\" -s -w
-ldflags='-s -w
-X github.com/SigNoz/signoz/pkg/version.version=${{ needs.prepare.outputs.version }}
-X github.com/SigNoz/signoz/pkg/version.variant=enterprise
-X github.com/SigNoz/signoz/pkg/version.hash=${{ needs.prepare.outputs.hash }}
-X github.com/SigNoz/signoz/pkg/version.time=${{ needs.prepare.outputs.time }}
-X github.com/SigNoz/signoz/pkg/version.branch=${{ needs.prepare.outputs.branch }}
-X github.com/SigNoz/signoz/ee/zeus.url=https://api.staging.signoz.cloud
-X github.com/SigNoz/signoz/ee/zeus.deprecatedURL=https://license.staging.signoz.cloud
-X github.com/SigNoz/signoz/ee/query-service/constants.ZeusURL=https://api.staging.signoz.cloud
-X github.com/SigNoz/signoz/ee/query-service/constants.LicenseSignozIo=https://license.staging.signoz.cloud/api/v1
-X github.com/SigNoz/signoz/pkg/analytics.key=9kRrJ7oPCGPEJLF6QjMPLt5bljFhRQBr'
GO_CGO_ENABLED: 1
DOCKER_BASE_IMAGES: '{"alpine": "alpine:3.20.3"}'
DOCKER_DOCKERFILE_PATH: ./cmd/enterprise/Dockerfile.multi-arch
DOCKER_MANIFEST: true
Expand All @@ -125,4 +123,4 @@ jobs:
GITHUB_SILENT: true
GITHUB_REPOSITORY_NAME: charts-saas-v3-staging
GITHUB_EVENT_NAME: releaser
GITHUB_EVENT_PAYLOAD: "{\"deployment\": \"${{ needs.prepare.outputs.deployment }}\", \"signoz_version\": \"${{ needs.prepare.outputs.version }}\"}"
GITHUB_EVENT_PAYLOAD: '{"deployment": "${{ needs.prepare.outputs.deployment }}", "signoz_version": "${{ needs.prepare.outputs.version }}"}'
21 changes: 19 additions & 2 deletions .github/workflows/integrationci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,18 @@ jobs:
matrix:
src:
- bootstrap
- auth
- passwordauthn
- callbackauthn
- cloudintegrations
- querier
- ttl
sqlstore-provider:
- postgres
- sqlite
clickhouse-version:
- 25.5.6
schema-migrator-version:
- v0.129.6
- v0.129.7
postgres-version:
- 15
if: |
Expand All @@ -42,6 +45,20 @@ jobs:
python -m pip install poetry==2.1.2
python -m poetry config virtualenvs.in-project true
cd tests/integration && poetry install --no-root
- name: webdriver
run: |
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
echo "deb http://dl.google.com/linux/chrome/deb/ stable main" | sudo tee -a /etc/apt/sources.list.d/google-chrome.list
sudo apt-get update -qqy
sudo apt-get -qqy install google-chrome-stable
CHROME_VERSION=$(google-chrome-stable --version)
CHROME_FULL_VERSION=${CHROME_VERSION%%.*}
CHROME_MAJOR_VERSION=${CHROME_FULL_VERSION//[!0-9]}
sudo rm /etc/apt/sources.list.d/google-chrome.list
export CHROMEDRIVER_VERSION=`curl -s https://googlechromelabs.github.io/chrome-for-testing/LATEST_RELEASE_${CHROME_MAJOR_VERSION%%.*}`
curl -L -O "https://storage.googleapis.com/chrome-for-testing-public/${CHROMEDRIVER_VERSION}/linux64/chromedriver-linux64.zip"
unzip chromedriver-linux64.zip && chmod +x chromedriver && sudo mv chromedriver /usr/local/bin
chromedriver -version
- name: run
run: |
cd tests/integration && \
Expand Down
88 changes: 56 additions & 32 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,39 +1,63 @@
version: "2"
linters:
default: standard
default: none
enable:
- bodyclose
- depguard
- errcheck
- forbidigo
- govet
- iface
- ineffassign
- misspell
- nilnil
- sloglint
- depguard
- iface
- unparam
- forbidigo

linters-settings:
sloglint:
no-mixed-args: true
kv-only: true
no-global: all
context: all
static-msg: true
msg-style: lowercased
key-naming-case: snake
depguard:
rules:
nozap:
deny:
- pkg: "go.uber.org/zap"
desc: "Do not use zap logger. Use slog instead."
noerrors:
deny:
- pkg: "errors"
desc: "Do not use errors package. Use github.com/SigNoz/signoz/pkg/errors instead."
iface:
enable:
- identical
issues:
exclude-dirs:
- "pkg/query-service"
- "ee/query-service"
- "scripts/"
- unused
settings:
depguard:
rules:
noerrors:
deny:
- pkg: errors
desc: Do not use errors package. Use github.com/SigNoz/signoz/pkg/errors instead.
nozap:
deny:
- pkg: go.uber.org/zap
desc: Do not use zap logger. Use slog instead.
forbidigo:
forbid:
- pattern: fmt.Errorf
- pattern: ^(fmt\.Print.*|print|println)$
iface:
enable:
- identical
sloglint:
no-mixed-args: true
kv-only: true
no-global: all
context: all
static-msg: true
key-naming-case: snake
exclusions:
generated: lax
presets:
- comments
- common-false-positives
- legacy
- std-error-handling
paths:
- pkg/query-service
- ee/query-service
- scripts/
- tmp/
- third_party$
- builtin$
- examples$
formatters:
exclusions:
generated: lax
paths:
- third_party$
- builtin$
- examples$
24 changes: 11 additions & 13 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,9 @@ go-run-enterprise: ## Runs the enterprise go backend server
SIGNOZ_ALERTMANAGER_PROVIDER=signoz \
SIGNOZ_TELEMETRYSTORE_PROVIDER=clickhouse \
SIGNOZ_TELEMETRYSTORE_CLICKHOUSE_DSN=tcp://127.0.0.1:9000 \
SIGNOZ_TELEMETRYSTORE_CLICKHOUSE_CLUSTER=cluster \
go run -race \
$(GO_BUILD_CONTEXT_ENTERPRISE)/*.go \
--config ./conf/prometheus.yml \
--cluster cluster
$(GO_BUILD_CONTEXT_ENTERPRISE)/*.go

.PHONY: go-test
go-test: ## Runs go unit tests
Expand All @@ -102,10 +101,9 @@ go-run-community: ## Runs the community go backend server
SIGNOZ_ALERTMANAGER_PROVIDER=signoz \
SIGNOZ_TELEMETRYSTORE_PROVIDER=clickhouse \
SIGNOZ_TELEMETRYSTORE_CLICKHOUSE_DSN=tcp://127.0.0.1:9000 \
SIGNOZ_TELEMETRYSTORE_CLICKHOUSE_CLUSTER=cluster \
go run -race \
$(GO_BUILD_CONTEXT_COMMUNITY)/*.go server \
--config ./conf/prometheus.yml \
--cluster cluster
$(GO_BUILD_CONTEXT_COMMUNITY)/*.go server

.PHONY: go-build-community $(GO_BUILD_ARCHS_COMMUNITY)
go-build-community: ## Builds the go backend server for community
Expand All @@ -114,9 +112,9 @@ $(GO_BUILD_ARCHS_COMMUNITY): go-build-community-%: $(TARGET_DIR)
@mkdir -p $(TARGET_DIR)/$(OS)-$*
@echo ">> building binary $(TARGET_DIR)/$(OS)-$*/$(NAME)-community"
@if [ $* = "arm64" ]; then \
CC=aarch64-linux-gnu-gcc CGO_ENABLED=1 GOARCH=$* GOOS=$(OS) go build -C $(GO_BUILD_CONTEXT_COMMUNITY) -tags timetzdata -o $(TARGET_DIR)/$(OS)-$*/$(NAME)-community -ldflags "-linkmode external -extldflags '-static' -s -w $(GO_BUILD_LDFLAGS_COMMUNITY)"; \
GOARCH=$* GOOS=$(OS) go build -C $(GO_BUILD_CONTEXT_COMMUNITY) -tags timetzdata -o $(TARGET_DIR)/$(OS)-$*/$(NAME)-community -ldflags "-s -w $(GO_BUILD_LDFLAGS_COMMUNITY)"; \
else \
CGO_ENABLED=1 GOARCH=$* GOOS=$(OS) go build -C $(GO_BUILD_CONTEXT_COMMUNITY) -tags timetzdata -o $(TARGET_DIR)/$(OS)-$*/$(NAME)-community -ldflags "-linkmode external -extldflags '-static' -s -w $(GO_BUILD_LDFLAGS_COMMUNITY)"; \
GOARCH=$* GOOS=$(OS) go build -C $(GO_BUILD_CONTEXT_COMMUNITY) -tags timetzdata -o $(TARGET_DIR)/$(OS)-$*/$(NAME)-community -ldflags "-s -w $(GO_BUILD_LDFLAGS_COMMUNITY)"; \
fi


Expand All @@ -127,9 +125,9 @@ $(GO_BUILD_ARCHS_ENTERPRISE): go-build-enterprise-%: $(TARGET_DIR)
@mkdir -p $(TARGET_DIR)/$(OS)-$*
@echo ">> building binary $(TARGET_DIR)/$(OS)-$*/$(NAME)"
@if [ $* = "arm64" ]; then \
CC=aarch64-linux-gnu-gcc CGO_ENABLED=1 GOARCH=$* GOOS=$(OS) go build -C $(GO_BUILD_CONTEXT_ENTERPRISE) -tags timetzdata -o $(TARGET_DIR)/$(OS)-$*/$(NAME) -ldflags "-linkmode external -extldflags '-static' -s -w $(GO_BUILD_LDFLAGS_ENTERPRISE)"; \
GOARCH=$* GOOS=$(OS) go build -C $(GO_BUILD_CONTEXT_ENTERPRISE) -tags timetzdata -o $(TARGET_DIR)/$(OS)-$*/$(NAME) -ldflags "-s -w $(GO_BUILD_LDFLAGS_ENTERPRISE)"; \
else \
CGO_ENABLED=1 GOARCH=$* GOOS=$(OS) go build -C $(GO_BUILD_CONTEXT_ENTERPRISE) -tags timetzdata -o $(TARGET_DIR)/$(OS)-$*/$(NAME) -ldflags "-linkmode external -extldflags '-static' -s -w $(GO_BUILD_LDFLAGS_ENTERPRISE)"; \
GOARCH=$* GOOS=$(OS) go build -C $(GO_BUILD_CONTEXT_ENTERPRISE) -tags timetzdata -o $(TARGET_DIR)/$(OS)-$*/$(NAME) -ldflags "-s -w $(GO_BUILD_LDFLAGS_ENTERPRISE)"; \
fi

.PHONY: go-build-enterprise-race $(GO_BUILD_ARCHS_ENTERPRISE_RACE)
Expand All @@ -139,9 +137,9 @@ $(GO_BUILD_ARCHS_ENTERPRISE_RACE): go-build-enterprise-race-%: $(TARGET_DIR)
@mkdir -p $(TARGET_DIR)/$(OS)-$*
@echo ">> building binary $(TARGET_DIR)/$(OS)-$*/$(NAME)"
@if [ $* = "arm64" ]; then \
CC=aarch64-linux-gnu-gcc CGO_ENABLED=1 GOARCH=$* GOOS=$(OS) go build -C $(GO_BUILD_CONTEXT_ENTERPRISE) -race -tags timetzdata -o $(TARGET_DIR)/$(OS)-$*/$(NAME) -ldflags "-linkmode external -extldflags '-static' -s -w $(GO_BUILD_LDFLAGS_ENTERPRISE)"; \
GOARCH=$* GOOS=$(OS) go build -C $(GO_BUILD_CONTEXT_ENTERPRISE) -race -tags timetzdata -o $(TARGET_DIR)/$(OS)-$*/$(NAME) -ldflags "-s -w $(GO_BUILD_LDFLAGS_ENTERPRISE)"; \
else \
CGO_ENABLED=1 GOARCH=$* GOOS=$(OS) go build -C $(GO_BUILD_CONTEXT_ENTERPRISE) -race -tags timetzdata -o $(TARGET_DIR)/$(OS)-$*/$(NAME) -ldflags "-linkmode external -extldflags '-static' -s -w $(GO_BUILD_LDFLAGS_ENTERPRISE)"; \
GOARCH=$* GOOS=$(OS) go build -C $(GO_BUILD_CONTEXT_ENTERPRISE) -race -tags timetzdata -o $(TARGET_DIR)/$(OS)-$*/$(NAME) -ldflags "-s -w $(GO_BUILD_LDFLAGS_ENTERPRISE)"; \
fi

##############################################################
Expand Down Expand Up @@ -208,4 +206,4 @@ py-lint: ## Run lint for integration tests

.PHONY: py-test
py-test: ## Runs integration tests
@cd tests/integration && poetry run pytest --basetemp=./tmp/ -vv --capture=no src/
@cd tests/integration && poetry run pytest --basetemp=./tmp/ -vv --capture=no src/
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ Not sure how to get started? Just ping us on `#contributing` in our [slack commu
#### DevOps

- [Prashant Shahi](https://github.com/prashant-shahi)
- [Vibhu Pandey](https://github.com/grandwizard28)
- [Vibhu Pandey](https://github.com/therealpandey)

<br /><br />

Expand Down
8 changes: 0 additions & 8 deletions cmd/community/.goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,6 @@ builds:
- id: signoz
binary: bin/signoz
main: ./cmd/community
env:
- CGO_ENABLED=1
- >-
{{- if eq .Os "linux" }}
{{- if eq .Arch "arm64" }}CC=aarch64-linux-gnu-gcc{{- end }}
{{- end }}
goos:
- linux
- darwin
Expand All @@ -36,8 +30,6 @@ builds:
- -X github.com/SigNoz/signoz/pkg/version.time={{ .CommitTimestamp }}
- -X github.com/SigNoz/signoz/pkg/version.branch={{ .Branch }}
- -X github.com/SigNoz/signoz/pkg/analytics.key=9kRrJ7oPCGPEJLF6QjMPLt5bljFhRQBr
- >-
{{- if eq .Os "linux" }}-linkmode external -extldflags '-static'{{- end }}
mod_timestamp: "{{ .CommitTimestamp }}"
tags:
- timetzdata
Expand Down
Loading
Loading