package grpc

import (
	"github.com/prometheus/client_golang/prometheus"
	"github.com/prometheus/client_golang/prometheus/promauto"
)

var (
	successRequests = promauto.NewCounter(prometheus.CounterOpts{
		Name: "grpc_email_success_incoming_messages_total",
		Help: "The total number of success incoming email GRPC requests",
	})
	errorRequests = promauto.NewCounter(prometheus.CounterOpts{
		Name: "grpc_email_error_incoming_message_total",
		Help: "The total number of error incoming email GRPC requests",
	})
	createRequests = promauto.NewCounter(prometheus.CounterOpts{
		Name: "grpc_email_create_incoming_requests_total",
		Help: "The total number of incoming create email GRPC requests",
	})
	getByIdRequests = promauto.NewCounter(prometheus.CounterOpts{
		Name: "grpc_email_get_by_id_incoming_requests_total",
		Help: "The total number of incoming get by id email GRPC requests",
	})
	searchRequests = promauto.NewCounter(prometheus.CounterOpts{
		Name: "grpc_email_search_incoming_requests_total",
		Help: "The total number of incoming search email GRPC requests",
	})
)
