Code Monkey home page Code Monkey logo

Comments (12)

thoom avatar thoom commented on July 22, 2024 1

I was thinking about adding a PR for this. What would you expect the resulting Docker images to be named? i.e. caddy-docker-proxy:alpine-no-telemetry? Or would you rather move the default to no telemetry and instead caddy-docker-proxy:alpine is with telemetry disabled and caddy-docker-proxy:alpine-telemetry is what is currently built?

from caddy-docker-proxy.

francislavoie avatar francislavoie commented on July 22, 2024 1

Caddy v2 has no telemetry.

from caddy-docker-proxy.

lucaslorentz avatar lucaslorentz commented on July 22, 2024

We don't affect caddy cli flags.
I think you can just follow caddy documentation on how to disable it.
https://caddyserver.com/docs/telemetry

from caddy-docker-proxy.

lucaslorentz avatar lucaslorentz commented on July 22, 2024

https://caddyserver.com/docs/cli#disabled-metrics

from caddy-docker-proxy.

thoom avatar thoom commented on July 22, 2024

The only way to completely disable telemetry is at compile time by setting the flag enableTelemetry to false. Would it be possible to generate a docker image with this disabled?

from caddy-docker-proxy.

lucaslorentz avatar lucaslorentz commented on July 22, 2024

Yes, I will work on it

from caddy-docker-proxy.

thoom avatar thoom commented on July 22, 2024

Or maybe just disable it for caddy-docker-proxy based on this comment: caddyserver/caddy#2355 (comment)?

from caddy-docker-proxy.

lucaslorentz avatar lucaslorentz commented on July 22, 2024

I think we should go a bit more towards adding a cli option + env variable to disable telemetry instead of doubling the number of tags we have in docker image.

from caddy-docker-proxy.

lucaslorentz avatar lucaslorentz commented on July 22, 2024

I'm still not sure if it should be enabled or disabled by default.
@mholt Maybe you can provide some feedback about telemetry feature, will it be discontinued?

from caddy-docker-proxy.

mholt avatar mholt commented on July 22, 2024

We don't have any plans to discontinue telemetry. We might change its defaults in Caddy 2, but Caddy 2 will have a monitoring platform as well so we will have to see how that changes things!

from caddy-docker-proxy.

EarthlingDavey avatar EarthlingDavey commented on July 22, 2024

I know this issue was closed a while ago, but it's still coming up as a to google result.

As a workaround for docker, the telemetry url can be effectively blocked with an extra host argument of --add-host telemetry.caddyserver.com:127.0.0.1 or for docker-compose:

extra_hosts:
 - "telemetry.caddyserver.com:127.0.0.1"

from caddy-docker-proxy.

EarthlingDavey avatar EarthlingDavey commented on July 22, 2024

Ok sorry my mistake. I used image: 'abiosoft/caddy:latest' and assumed it was v2.

from caddy-docker-proxy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.