Skip to content

chore: rename service -> coder_service, remove agent_id label #19241

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 3 commits into from
Aug 7, 2025

Conversation

Emyrk
Copy link
Member

@Emyrk Emyrk commented Aug 7, 2025

Pyroscope uses service tag for top level distinction. So move our service -> coder_service

Screenshot From 2025-08-07 13-29-09

Also remove pprof labels per agent id. This resulted in high cardinality with a new label for each agent.

@Emyrk Emyrk changed the title chore: remove agent pprof label, rename server -> system chore: rename service -> coder_service, remove agent_id label Aug 7, 2025
coderd/coderd.go Outdated
r.Group(func(r chi.Router) {
r.Use(
// Override the request_type for agent rpc traffic.
httpmw.WithStaticProfilingLabels(pprof.Labels("request_type", "agent_rpc")),
Copy link
Member Author

Choose a reason for hiding this comment

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

This was pprof'd before, so doing this has the agent stuff in it's own group still.

Comment on lines +20 to +28
ServiceTag = "coder_service"

ServiceHTTPServer = "http-api"
ServiceLifecycles = "lifecycle-executor"
ServiceMetricCollector = "metrics-collector"
ServicePrebuildReconciler = "prebuilds-reconciler"
ServiceTerraformProvisioner = "terraform-provisioner"

RequestTypeTag = "coder_request_type"
Copy link
Member Author

@Emyrk Emyrk Aug 7, 2025

Choose a reason for hiding this comment

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

Prefixing these tags with coder_ to prevent collisions. I think this was causing issues.

Copy link
Contributor

@dannykopping dannykopping left a comment

Choose a reason for hiding this comment

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

👌

@Emyrk Emyrk merged commit 34c46c0 into main Aug 7, 2025
31 checks passed
@Emyrk Emyrk deleted the stevenmasley/profile_label_cardinality branch August 7, 2025 18:58
@github-actions github-actions bot locked and limited conversation to collaborators Aug 7, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy