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

Api URL from configuration file is ignored #52

Open
ievgenii-shepeliuk opened this issue Feb 6, 2023 · 1 comment
Open

Api URL from configuration file is ignored #52

ievgenii-shepeliuk opened this issue Feb 6, 2023 · 1 comment

Comments

@ievgenii-shepeliuk
Copy link

Hello

I'm using the latest version that is named as 3.1.4, but opsgenie-lamp --version gives me 3.2.0.

I've created configuration file at ~/.config/lamp.conf with following content

apiKey=<MY API KEY>
opsgenie.api.url=https://api.eu.opsgenie.com

But, this URL is ignored, the logs of a tool are giving me:

INFO[2023-02-06T18:51:56.930487813+02:00] Client is configured with ApiUrl: api.opsgenie.com, LogLevel: info, RetryMaxCount: 4

Also, I've tried to pass completely incorrect URL - the result is the same, this setting is not picked up by the tool.

apiKey=<MY API KEY>
opsgenie.api.url=https://qwe.asd
@prakhar-mudaiya
Copy link
Contributor

Hi @ievgenii-shepeliuk,

This issue looks like a logging issue/bug. The call is going to the URL mentioned in the config file.

We will create a bug and work on rectifying the logging bug.

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