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

[azure] Allow custom value for tail and timestamps #293

Merged

Conversation

ricoberger
Copy link
Member

@ricoberger ricoberger commented Jan 13, 2022

It is now possible to set custom values for the tail and timestamps
paramter in the container instances panel. When a user wants to show the
logs of an container from a container group in a dashboard panel it is
now possible to set custom values for the "tail" and "timestamps"
paramter.

The "tail" paramter can be used to set the number of log lines which
should be shown (default "10000"). The "timestamps" paramter can be used
to show a timestamp infront of every log line (default "false").

We also fixed two bugs:

  • When a user selected a container in logs tab, the select box wasn't
    closed. This is now fixed and after the user selects a container the
    options are not shown anymore.
  • The second fix is in the mock client for the cost management
    integration, were the wrong version of the "costmanagement" package
    was used. With this fix we also added the missing tests for the cost
    management routes.

It is now possible to set custom values for the tail and timestamps
paramter in the container instances panel. When a user wants to show the
logs of an container from a container group in a dashboard panel it is
now possible to set custom values for the "tail" and "timestamps"
paramter.

The "tail" paramter can be used to set the number of log lines which
should be shown (default "10000"). The "timestamps" paramter can be used
to show a timestamp infront of every log line (default "false").

We also fixed two bugs:

- When a user selected a container in logs tab, the select box wasn't
  closed. This is now fixed and after the user selects a container the
  options are not shown anymore.
- The second fix is in the mock client for the cost management
  integration, were the wrong version of the "costmanagement" package
  was used. With this fix we also added the missing tests for the cost
  management routes.
@ricoberger ricoberger force-pushed the azure-allow-users-to-customize-tail-and-timestamps-value branch from 99633bb to a6e981d Compare January 13, 2022 18:28
@codecov-commenter
Copy link

Codecov Report

Merging #293 (a6e981d) into main (12d825d) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #293   +/-   ##
=======================================
  Coverage   44.58%   44.58%           
=======================================
  Files          96       96           
  Lines        8100     8113   +13     
=======================================
+ Hits         3611     3617    +6     
- Misses       4457     4462    +5     
- Partials       32       34    +2     
Impacted Files Coverage Δ
plugins/azure/pkg/instance/instance.go 58.53% <ø> (ø)
plugins/azure/containerinstances.go 100.00% <100.00%> (ø)
plugins/applications/applications.go 93.39% <0.00%> (-6.61%) ⬇️
plugins/azure/costmanagement.go 100.00% <0.00%> (+21.21%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 12d825d...a6e981d. Read the comment docs.

@ricoberger ricoberger merged commit 2b1b97f into main Jan 13, 2022
@ricoberger ricoberger deleted the azure-allow-users-to-customize-tail-and-timestamps-value branch January 13, 2022 18:43
@ricoberger ricoberger linked an issue Jan 13, 2022 that may be closed by this pull request
5 tasks
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.

[azure] Extend plugin functionality
2 participants