diff options
| author | kbalakirev <[email protected]> | 2022-02-10 16:48:58 +0300 | 
|---|---|---|
| committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:48:58 +0300 | 
| commit | 498a47e48d41e5ec64ee3aa622a76a80274f35bd (patch) | |
| tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/monlib/encode/json/ut | |
| parent | 1906a186042870fd03a12180acd1a6fcee045e42 (diff) | |
Restoring authorship annotation for <[email protected]>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/monlib/encode/json/ut')
6 files changed, 152 insertions, 152 deletions
| diff --git a/library/cpp/monlib/encode/json/ut/log_histogram_timeseries.json b/library/cpp/monlib/encode/json/ut/log_histogram_timeseries.json index 6a1e1947d1e..e811a2cc579 100644 --- a/library/cpp/monlib/encode/json/ut/log_histogram_timeseries.json +++ b/library/cpp/monlib/encode/json/ut/log_histogram_timeseries.json @@ -1,47 +1,47 @@ -{  -  "sensors":  -    [  -      {  -        "kind":"LOGHIST",  -        "labels":  -          {  +{ +  "sensors": +    [ +      { +        "kind":"LOGHIST", +        "labels": +          {              "metric":"ms" -          },  -        "timeseries":  -          [  -            {  -              "ts":1509843723,  -              "log_hist":  -                {  -                  "base":1.5,  -                  "zeros_count":1,  -                  "start_power":0,  -                  "buckets":  -                    [  -                      0.5,  -                      0.25,  -                      0.25,  -                      0.5  -                    ]  -                }  -            },  -            {  -              "ts":1509843738,  -              "log_hist":  -                {  -                  "base":1.5,  -                  "zeros_count":1,  -                  "start_power":0,  -                  "buckets":  -                    [  -                      1,  -                      0.5,  -                      0.5,  -                      1  -                    ]  -                }  -            }  -          ]  -      }  -    ]  -}  +          }, +        "timeseries": +          [ +            { +              "ts":1509843723, +              "log_hist": +                { +                  "base":1.5, +                  "zeros_count":1, +                  "start_power":0, +                  "buckets": +                    [ +                      0.5, +                      0.25, +                      0.25, +                      0.5 +                    ] +                } +            }, +            { +              "ts":1509843738, +              "log_hist": +                { +                  "base":1.5, +                  "zeros_count":1, +                  "start_power":0, +                  "buckets": +                    [ +                      1, +                      0.5, +                      0.5, +                      1 +                    ] +                } +            } +          ] +      } +    ] +} diff --git a/library/cpp/monlib/encode/json/ut/log_histogram_value.json b/library/cpp/monlib/encode/json/ut/log_histogram_value.json index 919d7095497..002478293b2 100644 --- a/library/cpp/monlib/encode/json/ut/log_histogram_value.json +++ b/library/cpp/monlib/encode/json/ut/log_histogram_value.json @@ -1,26 +1,26 @@ -{  -  "sensors":  -    [  -      {  -        "kind":"LOGHIST",  -        "labels":  -          {  +{ +  "sensors": +    [ +      { +        "kind":"LOGHIST", +        "labels": +          {              "metric":"ms" -          },  -        "ts":1509843723,  -        "log_hist":  -          {  -            "base":1.5,  -            "zeros_count":1,  -            "start_power":0,  -            "buckets":  -              [  -                0.5,  -                0.25,  -                0.25,  -                0.5  -              ]  -          }  -      }  -    ]  -}  +          }, +        "ts":1509843723, +        "log_hist": +          { +            "base":1.5, +            "zeros_count":1, +            "start_power":0, +            "buckets": +              [ +                0.5, +                0.25, +                0.25, +                0.5 +              ] +          } +      } +    ] +} diff --git a/library/cpp/monlib/encode/json/ut/summary_inf.json b/library/cpp/monlib/encode/json/ut/summary_inf.json index 9d335a4d8ab..625a6cd8ad8 100644 --- a/library/cpp/monlib/encode/json/ut/summary_inf.json +++ b/library/cpp/monlib/encode/json/ut/summary_inf.json @@ -1,21 +1,21 @@ -{  -  "sensors":  -    [  -      {  -        "kind":"DSUMMARY",  -        "labels":  -          {  +{ +  "sensors": +    [ +      { +        "kind":"DSUMMARY", +        "labels": +          {              "metric":"temperature" -          },  -        "ts":1509843723,  -        "summary":  -          {  -            "sum":"nan",  -            "min":"-inf",  -            "max":"inf",  -            "last":0.3,  -            "count":30  -          }  -      }  -    ]  -}  +          }, +        "ts":1509843723, +        "summary": +          { +            "sum":"nan", +            "min":"-inf", +            "max":"inf", +            "last":0.3, +            "count":30 +          } +      } +    ] +} diff --git a/library/cpp/monlib/encode/json/ut/summary_timeseries.json b/library/cpp/monlib/encode/json/ut/summary_timeseries.json index 82704a7b726..92007af3e66 100644 --- a/library/cpp/monlib/encode/json/ut/summary_timeseries.json +++ b/library/cpp/monlib/encode/json/ut/summary_timeseries.json @@ -1,37 +1,37 @@ -{  -  "sensors":  -    [  -      {  -        "kind":"DSUMMARY",  -        "labels":  -          {  +{ +  "sensors": +    [ +      { +        "kind":"DSUMMARY", +        "labels": +          {              "metric":"temperature" -          },  -        "timeseries":  -          [  -            {  -              "ts":1509843723,  -              "summary":  -                {  -                  "sum":0.8,  -                  "min":-0.5,  -                  "max":1,  -                  "last":1,  -                  "count":3  -                }  -            },  -            {  -              "ts":1509843738,  -              "summary":  -                {  -                  "sum":-0.69,  -                  "min":-1.5,  -                  "max":1,  -                  "last":0.01,  -                  "count":5  -                }  -            }  -          ]  -      }  -    ]  -}  +          }, +        "timeseries": +          [ +            { +              "ts":1509843723, +              "summary": +                { +                  "sum":0.8, +                  "min":-0.5, +                  "max":1, +                  "last":1, +                  "count":3 +                } +            }, +            { +              "ts":1509843738, +              "summary": +                { +                  "sum":-0.69, +                  "min":-1.5, +                  "max":1, +                  "last":0.01, +                  "count":5 +                } +            } +          ] +      } +    ] +} diff --git a/library/cpp/monlib/encode/json/ut/summary_value.json b/library/cpp/monlib/encode/json/ut/summary_value.json index 7eaf355d182..366394c5e1f 100644 --- a/library/cpp/monlib/encode/json/ut/summary_value.json +++ b/library/cpp/monlib/encode/json/ut/summary_value.json @@ -1,21 +1,21 @@ -{  -  "sensors":  -    [  -      {  -        "kind":"DSUMMARY",  -        "labels":  -          {  +{ +  "sensors": +    [ +      { +        "kind":"DSUMMARY", +        "labels": +          {              "metric":"temperature" -          },  -        "ts":1509843723,  -        "summary":  -          {  -            "sum":10,  -            "min":-0.5,  -            "max":0.5,  -            "last":0.3,  -            "count":30  -          }  -      }  -    ]  -}  +          }, +        "ts":1509843723, +        "summary": +          { +            "sum":10, +            "min":-0.5, +            "max":0.5, +            "last":0.3, +            "count":30 +          } +      } +    ] +} diff --git a/library/cpp/monlib/encode/json/ut/ya.make b/library/cpp/monlib/encode/json/ut/ya.make index 70f9e4c9177..e50c4f4903b 100644 --- a/library/cpp/monlib/encode/json/ut/ya.make +++ b/library/cpp/monlib/encode/json/ut/ya.make @@ -29,11 +29,11 @@ RESOURCE(      test_decode_to_encode.json /test_decode_to_encode.json      crash.json /crash.json      hist_crash.json /hist_crash.json -    summary_value.json /summary_value.json  -    summary_inf.json /summary_inf.json  -    summary_timeseries.json /summary_timeseries.json  -    log_histogram_value.json /log_histogram_value.json  -    log_histogram_timeseries.json /log_histogram_timeseries.json  +    summary_value.json /summary_value.json +    summary_inf.json /summary_inf.json +    summary_timeseries.json /summary_timeseries.json +    log_histogram_value.json /log_histogram_value.json +    log_histogram_timeseries.json /log_histogram_timeseries.json  )  PEERDIR( | 
