Skip to content
Snippets Groups Projects

Enable head-based sampling and add some scripts for large scale deployment

Merged Zhiqiang Xie requested to merge zxie into main
2 files
+ 8
4
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -66,7 +66,7 @@ namespace hindsightgrpc {
/* An API provided by the service */
class API {
public:
API(std::string name, int exec, std::vector<Outcall> children) : name(name), exec(exec), children(children) {}
API(std::string name, double exec, std::vector<Outcall> children) : name(name), exec(exec), children(children) {}
API() {}
friend std::ostream& operator<<(std::ostream& os, const API& api) {
os << api.name << ": " << api.exec << "\n";
@@ -79,7 +79,7 @@ namespace hindsightgrpc {
std::vector<Outcall> children;
std::string name;
int exec;
double exec;
};
/* A service config*/
Loading