Last active
October 5, 2015 13:02
-
-
Save msonnabaum/4cb5238060114bb7aa65 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace go thriftgen | |
namespace rb LatencyMetricsThrift | |
struct LatencyMetric { | |
1: string timestamp, | |
2: required string product, | |
3: required string host, | |
4: required string metric, | |
5: string environment, | |
6: required double value, | |
} | |
struct LatencyMetricResponse { | |
1: bool success, | |
} | |
service LatencyMetricService { | |
LatencyMetricResponse sendMetric(1: LatencyMetric lm), | |
list<LatencyMetricResponse> sendMetrics(1: list<LatencyMetric> lms), | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment