Thanks to visit codestin.com
Credit goes to github.com

Skip to content

port-forward in the workspace UI shows Prometheus metrics if enabled in the Coder deployment #7330

Closed
@sharkymark

Description

@sharkymark

Version: v0.23.0+6e8ff2d

Related to #6986 #6039 #6515 - in general, ports other than user ports showing up

How to recreate:
Enable Prometheus in your deployment

# enable Prometheus
    - name: CODER_PROMETHEUS_ADDRESS
      value: 0.0.0.0:2112
    - name: CODER_PROMETHEUS_ENABLE
      value: "true"

Enable a wildcard subdomain

    - name: CODER_WILDCARD_ACCESS_URL
      value: "*.coder.example.com"

Start a workspace

Click Port Forward

image

Click the 2112 process

You will see something that resembles the Coder-enabled Prometheus metrics from the Coder control plane

image

BTW, #6515 claims to have fixed 6060 from showing, but that is not true anymore - and clicking gives a 404

image

Metadata

Metadata

Assignees

Labels

s2Broken use cases or features (with a workaround). Only humans may set this.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions