metrin icon indicating copy to clipboard operation
metrin copied to clipboard

#9 fix not applied to `releases` binaries

Open dtakamoto opened this issue 4 years ago • 0 comments

Summary

Fix of https://github.com/y13i/metrin/pull/9 is https://github.com/y13i/metrin/releases/tag/v0.1.1 It doesn't seem to be applied to the binary.

  • https://github.com/y13i/metrin/releases/tag/v0.1.1 (metrin-darwin_amd64)
./metrin --region us-east-1  --namespace AWS/DDoSProtection --metric-name DDoSAttackRequestsPerSecond --dimension ResourceArn:arn:aws:cloudfront::XXXXXXXXX:distribution/XXXXXXXX --dimension AttackVector:RequestFlood --statistic Sum --start-time -1800 --period 600  debug
Params: {
  Dimensions: [{
      Name: "ResourceArn",
      Value: "arn"
    },{
      Name: "AttackVector",
      Value: "RequestFlood"
    }],
  EndTime: 2020-04-03 15:51:25 +0900 JST,
  MetricName: "DDoSAttackRequestsPerSecond",
  Namespace: "AWS/DDoSProtection",
  Period: 600,
  StartTime: 2020-04-03 15:21:25 +0900 JST,
  Statistics: ["Sum"]
}
Response: {
  Label: "DDoSAttackRequestsPerSecond"
}
  • Expected output
Params: {
  Dimensions: [{
      Name: "ResourceArn",
      Value: "arn::aws:cloudfront::XXXXXXXXX:distribution/XXXXXXXX"
    },{
      Name: "AttackVector",
      Value: "RequestFlood"
    }],
[...]

The cause is under investigation. This is a quick note to tell you.

dtakamoto avatar Apr 03 '20 06:04 dtakamoto