Skip to content
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

upload metrics #1991

Open
kiriencoder opened this issue Jan 30, 2025 · 3 comments
Open

upload metrics #1991

kiriencoder opened this issue Jan 30, 2025 · 3 comments

Comments

@kiriencoder
Copy link

Default permify parameter app.meter.enabled=false.
Log contains line:
failed to upload metrics : Post "https://telemetry.permify.co/v1/metrics" dial tcp: lookup telemetry.permify.co on 1.8.0.10:53: no such host

It seems parameters not applyed.

Even I set app.meter.endpoint to other host, log contains telemetry.permify.co

What is wrong?

@tolgaOzen
Copy link
Member

Hello @kiriencoder, telemetry.permify.co this is default parameter of telemetry endpoint. Which option (env, flag or file) did you use for setting endpoint?

@kiriencoder
Copy link
Author

@tolgaOzen we use deploy values.
But main question is "why is the request sent if the variable PERMIFY_METER_ENABLED is not set?"

@tolgaOzen
Copy link
Member

@kiriencoder, default value of PERMIFY_METER_ENABLED is false. You can check from here https://github.com/Permify/permify/blob/master/internal/config/config.go#L313C14-L313C19

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants