Skip to content

remove telemetry from alpha and push very basic telemetry in zero #9376

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

Merged
merged 1 commit into from
Apr 23, 2025

Conversation

mangalaman93
Copy link
Member

No description provided.

@Copilot Copilot AI review requested due to automatic review settings April 14, 2025 13:51
@mangalaman93 mangalaman93 requested a review from a team as a code owner April 14, 2025 13:51
@github-actions github-actions bot added area/testing Testing related issues area/graphql Issues related to GraphQL support on Dgraph. area/core internal mechanisms go Pull requests that update Go code labels Apr 14, 2025
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR removes telemetry reporting from various components and defines a system namespace behavior to prevent renaming or dropping reserved namespaces.

  • Removed telemetry flags from docker-compose commands and internal telemetry code calls.
  • Replaced explicit checks for reserved namespaces (e.g. "root") with a common isSystemNamespace() function.

Reviewed Changes

Copilot reviewed 65 out of 67 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
graphql/testdata/custom_bench/profiling/docker-compose.yml Removed telemetry flags from alpha and zero commands.
graphql/e2e/*/docker-compose.yml Removed telemetry options from multiple docker-compose configurations.
edgraph/server.go Removed telemetry posting function for alpha.
edgraph/namespace.go Replaced explicit namespace checks with isSystemNamespace() function.
dgraphtest/dgraph.go Removed telemetry flag adjustments in command generation for tests.
dgraph/docker-compose.yml Updated alpha command telemetry configuration and added sentry flag.
dgraph/cmd/zero/*.go, dgraph/cmd/alpha/run.go Removed telemetry-related code and flag usage.
dgraph/cmd/alpha/mutations_mode/docker-compose.yml Removed telemetry flag from mutations mode commands.
Files not reviewed (2)
  • graphql/e2e/auth/docker-compose.yml: Language not supported
  • graphql/e2e/directives/docker-compose.yml: Language not supported

Copy link

trunk-io bot commented Apr 14, 2025

Static BadgeStatic BadgeStatic BadgeStatic Badge

View Full Report ↗︎Docs

@mangalaman93 mangalaman93 changed the title stop sending telemetry to ping.dgraph.io and define root namespace remove telemetry from alpha and push very basic telemetry in zero Apr 23, 2025
@mangalaman93 mangalaman93 enabled auto-merge (squash) April 23, 2025 12:12
@mangalaman93 mangalaman93 merged commit 4eb77c3 into main Apr 23, 2025
13 checks passed
@mangalaman93 mangalaman93 deleted the aman/telemetry branch April 23, 2025 13:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/core internal mechanisms area/graphql Issues related to GraphQL support on Dgraph. area/testing Testing related issues go Pull requests that update Go code
Development

Successfully merging this pull request may close these issues.

2 participants