Skip to content

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

Merged
mangalaman93 merged 1 commit into
mainfrom
aman/telemetry
Apr 23, 2025
Merged

remove telemetry from alpha and push very basic telemetry in zero#9376
mangalaman93 merged 1 commit into
mainfrom
aman/telemetry

Conversation

@mangalaman93
Copy link
Copy Markdown
Contributor

No description provided.

@mangalaman93 mangalaman93 requested review from a team and Copilot 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
Copy Markdown

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

Comment thread dgraph/docker-compose.yml Outdated
@trunk-io
Copy link
Copy Markdown

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