cloudflare / cloudflare/cloudflared

💡 cloudflared Cloudflare Tunnel HTTP Traffic Metrics

Open
#1,001 5 comments 0 reactions 0 assignees View on GitHub
Priority: Normal Type: Feature Request
Dominant language
Go
Stars
15.6k
Forks
1.4k
PR merge metrics
No merged PRs in 30d

Description

**Describe the feature you'd like**

Provide more Prometheus metrics data about the traffic.

**Describe alternatives you've considered**

I run `cloudflared` inside of kubernetes, so I would monitoring the network traffic about pod.

But there is NO way to get detailed metrics like "how much traffic used for ingress and egress with domain `service1.example.com` ".

**Additional context**

Now cloudflared already provides some metrics in proxy/metrics.go, like counter by http response code.

I want more metrics like the counter of proxied traffic data in bytes, for both ingress and egress.

I found that I could append more instrument behavior around `proxy/metrics.go` to accomplish this goal.

Also the well-design of metrics(name, tags) should be considered.

What do you think about it?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.