Skip to content

Commit

Permalink
fix default max_age of summary (#907)
Browse files Browse the repository at this point in the history
  • Loading branch information
poor-circle authored Feb 14, 2025
1 parent f61e939 commit ccdb2f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/ylt/metric/summary.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ YLT_REFL(json_summary_t, name, help, type, labels_name, quantiles_key, metrics);
class summary_t : public static_metric {
public:
summary_t(std::string name, std::string help, std::vector<double> quantiles,
std::chrono::seconds max_age = std::chrono::seconds{0})
std::chrono::seconds max_age = std::chrono::seconds{60})
: static_metric(MetricType::Summary, std::move(name), std::move(help)),
quantiles_(std::move(quantiles)),
impl_(quantiles_,
Expand Down

0 comments on commit ccdb2f6

Please sign in to comment.