Compare commits

..

No commits in common. "028db059fe2cca50edb1308c623293ddb3130f87" and "880b6313a9a14586732dd31363fa2cd851f242f9" have entirely different histories.

View File

@ -14,8 +14,9 @@ import (
)
func writeMetric(timestamp time.Time, endpoint string, statusCode int, responseTime int, method string) {
loc, _ := time.LoadLocation("Europe/Moscow")
err := endpoints.AddEndpointMetric(endpoints.EndpointMetric{
Timestamp: timestamp.Add(time.Hour * 3),
Timestamp: timestamp.In(loc),
Service: "monitoring",
Environment: os.Getenv("STAGE"),
Endpoint: endpoint,