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

memphis nats logs combined + db connection #251

Merged
merged 5 commits into from Aug 3, 2022

Conversation

shay23b
Copy link
Contributor

@shay23b shay23b commented Aug 2, 2022

No description provided.

handlers/handlers.go Outdated Show resolved Hide resolved

"github.com/gin-gonic/gin"
)

func InitializeMonitoringRoutes(router *gin.RouterGroup) {
func InitializeMonitoringRoutes(router *gin.RouterGroup, s *server.Server) {
Copy link
Contributor

Choose a reason for hiding this comment

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

you are not using the s param

analytics/analytics.go Outdated Show resolved Hide resolved
analytics/analytics.go Outdated Show resolved Hide resolved
@@ -42,6 +42,11 @@ var producersHandler = ProducersHandler{}
var consumersHandler = ConsumersHandler{}
var auditLogsHandler = AuditLogsHandler{}
var poisonMsgsHandler = PoisonMessagesHandler{}
var s *server.Server

func (mh MonitoringHandler) InitializeMonitoringHandlers(server *server.Server) {
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 we need it?

main.go Outdated Show resolved Hide resolved
@idanasulin2706 idanasulin2706 merged commit f30d75b into memphis-nats-integration Aug 3, 2022
@idanasulin2706 idanasulin2706 deleted the nats-logs-integration branch August 20, 2022 18:11
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.

None yet

2 participants