Skip to content
This repository has been archived by the owner on Oct 17, 2018. It is now read-only.

Commit

Permalink
Add forwarded metric proto and struct
Browse files Browse the repository at this point in the history
  • Loading branch information
xichen2020 committed Jun 24, 2018
1 parent 1bb1c5a commit a5ecee8
Show file tree
Hide file tree
Showing 6 changed files with 506 additions and 158 deletions.
141 changes: 71 additions & 70 deletions generated/proto/metricpb/composite.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions generated/proto/metricpb/composite.proto
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ message GaugeWithMetadatas {
StagedMetadatas metadatas = 2 [(gogoproto.nullable) = false];
}

message TimedMetricWithForwardMetadata {
TimedMetric metric = 1 [(gogoproto.nullable) = false];
message ForwardedMetricWithMetadata {
ForwardedMetric metric = 1 [(gogoproto.nullable) = false];
ForwardMetadata metadata = 2 [(gogoproto.nullable) = false];
}

Expand All @@ -66,5 +66,5 @@ message MetricWithMetadatas {
CounterWithMetadatas counter_with_metadatas = 2;
BatchTimerWithMetadatas batch_timer_with_metadatas = 3;
GaugeWithMetadatas gauge_with_metadatas = 4;
TimedMetricWithForwardMetadata timed_metric_with_forward_metadata = 5;
ForwardedMetricWithMetadata forwarded_metric_with_metadata = 5;
}
Loading

0 comments on commit a5ecee8

Please sign in to comment.