syntax = "proto3";

package load.projects.cloud.tank_client.proto;

import "google/protobuf/timestamp.proto";

option go_package = "a.yandex-team.ru/load/projects/cloud/tank_client/proto;monitoring_service";


service MonitoringService {
  rpc Create (CreateMonitoringRequest) returns (CreateMonitoringResponse);
}

message CreateMonitoringRequest {
  string compute_instance_id = 1;
  string instance_host = 2;
  repeated Metric data = 3;
  string job_id = 4;
  uint64 timestamp = 5;
  string comment = 6;
}

message Metric {
  string metric_type = 1;
  string metric_name = 2;
  double metric_value = 3;
}

message CreateMonitoringResponse {
  string metric_trail_id = 1;
  int64 code = 2;
}
