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

Adds UserAgent and CPU Usage optimization #102

Merged
merged 24 commits into from
Mar 25, 2023
Merged

Conversation

briangann
Copy link
Collaborator

  • Updates packages
  • Add GrafanaKiosk to user agent string with build version
  • Adds build version to output
  • Reduces CPU usage of application

@briangann briangann marked this pull request as ready for review March 24, 2023 02:44
README.md Outdated
KIOSK_IS_PLAYLIST bool
URL is a playlist (default "false")
KIOSK_LOGIN_METHOD string
[anon|local|gcom|goauth|idtoken|apikey] (default "anon")
[anon|local|gcom|goauth|idtoken] (default "anon")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do you remove the apikey value from the doc?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

my mistake - merge failure, will add it back, thanks for the catch!

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i took the output from the command-line help output, looks like the option wasn't added to the env section. i've added it back in. thanks again!

pkg/cmd/grafana-kiosk/main.go Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Show resolved Hide resolved
@codeclimate
Copy link

codeclimate bot commented Mar 25, 2023

Code Climate has analyzed commit 8f2ceae and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 2.2% (50% is the threshold).

This pull request will bring the total coverage in the repository to 3.4%.

View more on Code Climate.

@briangann briangann merged commit 8da1ba2 into main Mar 25, 2023
@briangann briangann deleted the 20230323_add_useragent branch March 25, 2023 03:34
@briangann briangann mentioned this pull request Mar 25, 2023
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

Successfully merging this pull request may close these issues.

2 participants