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

[Backport 4.3-7.16] Fixed errors in group reports #4382

Merged
merged 1 commit into from
Aug 5, 2022

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Aug 5, 2022

Backport 8ffce0e from #4350.

* fix(reports): error generating group reports due to accessing to a property of undefined

- Fixed an error due to accessing to a property of undefined when the API request to get the group configuration failed due to token expiration or another error.
- Changed styles of `Agents in groups` title
- Fixed a problem with missing agents in the table for a group report.
  Now it gets all the agents.
- Removed unnecessary API request
- Optimized API requests to get the agent information required to print
  the agents in group's table
- Removed `manager_host` deprecated field:
  - Removed of monitoring template mapping
  - Removed field meaning
  - Removed displaying its value reports if the field `manager` doesn't exist

* changelog: add PR entry

* fix(reporting): replaced parameter type

* fix(reporting): replaced message when there are no agent in group

Co-authored-by: Álex <[email protected]>
(cherry picked from commit 8ffce0e)
@Desvelao Desvelao merged commit c750b4f into 4.3-7.16 Aug 5, 2022
@Desvelao Desvelao deleted the backport-4350-to-4.3-7.16 branch August 5, 2022 06:50
@Desvelao Desvelao linked an issue Aug 5, 2022 that may be closed by this pull request
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.

Group report generation fails randomly
1 participant