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

[MI-3624] Add some additional metrics #354

Merged
merged 13 commits into from
Oct 24, 2023
Merged

[MI-3624] Add some additional metrics #354

merged 13 commits into from
Oct 24, 2023

Conversation

ayusht2810
Copy link
Contributor

@ayusht2810 ayusht2810 commented Oct 18, 2023

Summary

  • Added metrics for messages, reactions and files count for different sources and actions.
  • Fixed unit test cases

@ayusht2810 ayusht2810 self-assigned this Oct 18, 2023
@ayusht2810 ayusht2810 added Difficulty/3:Hard Hard ticket Test Cases Includes unit test cases changes labels Oct 18, 2023
server/handlers/handlers.go Outdated Show resolved Hide resolved
server/handlers/handlers.go Show resolved Hide resolved
server/message_hooks.go Outdated Show resolved Hide resolved
server/handlers/attachments.go Outdated Show resolved Hide resolved
server/handlers/attachments.go Outdated Show resolved Hide resolved
server/handlers/handlers.go Outdated Show resolved Hide resolved
server/handlers/handlers.go Outdated Show resolved Hide resolved
server/message_hooks.go Outdated Show resolved Hide resolved
server/metrics/metrics.go Outdated Show resolved Hide resolved
server/plugin.go Show resolved Hide resolved
server/plugin.go Outdated Show resolved Hide resolved
server/handlers/attachments.go Outdated Show resolved Hide resolved
server/handlers/handlers.go Outdated Show resolved Hide resolved
server/handlers/handlers.go Outdated Show resolved Hide resolved
server/message_hooks.go Outdated Show resolved Hide resolved
Copy link
Member

@lieut-data lieut-data left a comment

Choose a reason for hiding this comment

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

Thanks, @ayusht2810! Just giving a quick preliminary review as it looks like there's already some feedback to address.

server/handlers/handlers.go Outdated Show resolved Hide resolved
@@ -16,12 +16,31 @@ const (
MetricsCloudInstallationLabel = "installationId"
)

type Metrics interface {
Copy link
Member

Choose a reason for hiding this comment

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

Looks like multiple PRs are all touching this interface -- lots of merge conflicts ahead!

Copy link
Member

@lieut-data lieut-data left a comment

Choose a reason for hiding this comment

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

Thanks, @ayusht2810! A few comments, but not strictly blocking.

server/handlers/attachments.go Outdated Show resolved Hide resolved
server/metrics/metrics.go Show resolved Hide resolved
…iles count and renamed a variable

Fixed failing unit tests
@manojmalik20 manojmalik20 merged commit 211d50a into main Oct 24, 2023
1 check passed
@manojmalik20 manojmalik20 deleted the MI-3624 branch October 24, 2023 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Difficulty/3:Hard Hard ticket Test Cases Includes unit test cases changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants