Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ocagent: convert Int64Data and Float64Data metrics to *wire.Metric. #170

Closed
wants to merge 6 commits into from

Conversation

kirbyquerby
Copy link
Contributor

@kirbyquerby kirbyquerby commented Oct 8, 2019

Histogram data still needs to be converted and
timestamps are not attached as they are not yet available.

What works:

  • convertMetric will now convert Int64Data and Float64Data.

What does not work yet:

  • Histogram64Int and Histogram64Float will still not be converted.
  • StartTime and EndTime will not be attached to timeseries and points.
  • MetricDescriptors will not have a unit attached.
  • no labels will be attached to timeseries.

Updates golang/go#33819

@gopherbot
Copy link
Contributor

This PR (HEAD: 3a45823) has been imported to Gerrit for code review.

Please visit https://go-review.googlesource.com/c/tools/+/199857 to see it.

Tip: You can toggle comments from me using the comments slash command (e.g. /comments off)
See the Wiki page for more info

@gopherbot
Copy link
Contributor

Message from Gobot Gobot:

Patch Set 1:

Congratulations on opening your first change. Thank you for your contribution!

Next steps:
Within the next week or so, a maintainer will review your change and provide
feedback. See https://golang.org/doc/contribute.html#review for more info and
tips to get your patch through code review.

Most changes in the Go project go through a few rounds of revision. This can be
surprising to people new to the project. The careful, iterative review process
is our way of helping mentor contributors and ensuring that their contributions
have a lasting impact.

During May-July and Nov-Jan the Go project is in a code freeze, during which
little code gets reviewed or merged. If a reviewer responds with a comment like
R=go1.11, it means that this CL will be reviewed as part of the next development
cycle. See https://golang.org/s/release for more details.


Please don’t reply on this GitHub thread. Visit golang.org/cl/199857.
After addressing review feedback, remember to publish your drafts!

@gopherbot
Copy link
Contributor

This PR (HEAD: 4b0eeb5) has been imported to Gerrit for code review.

Please visit https://go-review.googlesource.com/c/tools/+/199857 to see it.

Tip: You can toggle comments from me using the comments slash command (e.g. /comments off)
See the Wiki page for more info

@gopherbot
Copy link
Contributor

Message from Emmanuel Odeke:

Patch Set 2: Run-TryBot+1

(4 comments)

Thank you Nathan and congrats on sending the first major CL! LGTM with some minor nits.


Please don’t reply on this GitHub thread. Visit golang.org/cl/199857.
After addressing review feedback, remember to publish your drafts!

@gopherbot
Copy link
Contributor

Message from Gobot Gobot:

Patch Set 2:

TryBots beginning. Status page: https://farmer.golang.org/try?commit=62d74b7f


Please don’t reply on this GitHub thread. Visit golang.org/cl/199857.
After addressing review feedback, remember to publish your drafts!

@gopherbot
Copy link
Contributor

Message from Gobot Gobot:

Patch Set 2:

Build is still in progress...
This change failed on freebsd-amd64-12_0:
See https://storage.googleapis.com/go-build-log/ed7e4308/freebsd-amd64-12_0_ae4efe20.log

Other builds still in progress; subsequent failure notices suppressed until final report. Consult https://build.golang.org/ to see whether they are new failures. Keep in mind that TryBots currently test exactly your git commit, without rebasing. If your commit's git parent is old, the failure might've already been fixed.


Please don’t reply on this GitHub thread. Visit golang.org/cl/199857.
After addressing review feedback, remember to publish your drafts!

@gopherbot
Copy link
Contributor

Message from Gobot Gobot:

Patch Set 2: TryBot-Result-1

9 of 10 TryBots failed:
Failed on freebsd-amd64-12_0: https://storage.googleapis.com/go-build-log/ed7e4308/freebsd-amd64-12_0_ae4efe20.log
Failed on linux-amd64 (Go 1.13.x): https://storage.googleapis.com/go-build-log/2f73eedd/linux-amd64_a1c12c86.log
Failed on linux-386: https://storage.googleapis.com/go-build-log/ed7e4308/linux-386_6caaf071.log
Failed on linux-amd64: https://storage.googleapis.com/go-build-log/ed7e4308/linux-amd64_e2dfac39.log
Failed on windows-amd64-2016: https://storage.googleapis.com/go-build-log/ed7e4308/windows-amd64-2016_08c08c19.log
Failed on linux-amd64-race: https://storage.googleapis.com/go-build-log/ed7e4308/linux-amd64-race_5314fa11.log
Failed on openbsd-amd64-64: https://storage.googleapis.com/go-build-log/ed7e4308/openbsd-amd64-64_b9fcb209.log
Failed on windows-386-2008: https://storage.googleapis.com/go-build-log/ed7e4308/windows-386-2008_e8a1b5fc.log
Failed on android-amd64-emu: https://storage.googleapis.com/go-build-log/ed7e4308/android-amd64-emu_673ebcae.log

Consult https://build.golang.org/ to see whether they are new failures. Keep in mind that TryBots currently test exactly your git commit, without rebasing. If your commit's git parent is old, the failure might've already been fixed.


Please don’t reply on this GitHub thread. Visit golang.org/cl/199857.
After addressing review feedback, remember to publish your drafts!

@gopherbot
Copy link
Contributor

Message from Ian Cottrell:

Patch Set 2:

(1 comment)


Please don’t reply on this GitHub thread. Visit golang.org/cl/199857.
After addressing review feedback, remember to publish your drafts!

@gopherbot
Copy link
Contributor

Message from Nathan Dias:

Patch Set 3: Commit message was updated.


Please don’t reply on this GitHub thread. Visit golang.org/cl/199857.
After addressing review feedback, remember to publish your drafts!

@gopherbot
Copy link
Contributor

This PR (HEAD: ae22d45) has been imported to Gerrit for code review.

Please visit https://go-review.googlesource.com/c/tools/+/199857 to see it.

Tip: You can toggle comments from me using the comments slash command (e.g. /comments off)
See the Wiki page for more info

@gopherbot
Copy link
Contributor

Message from Nathan Dias:

Patch Set 4:

(5 comments)


Please don’t reply on this GitHub thread. Visit golang.org/cl/199857.
After addressing review feedback, remember to publish your drafts!

@gopherbot
Copy link
Contributor

Message from Ian Cottrell:

Patch Set 5: Code-Review+2

Please mention what you would now expect to work and what would not in the cl description, the TODO's in the code say what still needs to be done correctly, but for someone watching the bug having the cl say what the effects are is good. Thanks!


Please don’t reply on this GitHub thread. Visit golang.org/cl/199857.
After addressing review feedback, remember to publish your drafts!

* rename transform_metrics_to_wire and corresponding test to metrics
* return nil from convertMetric() if descriptor and timeseries are nil
@gopherbot
Copy link
Contributor

This PR (HEAD: 10820a9) has been imported to Gerrit for code review.

Please visit https://go-review.googlesource.com/c/tools/+/199857 to see it.

Tip: You can toggle comments from me using the comments slash command (e.g. /comments off)
See the Wiki page for more info

@gopherbot
Copy link
Contributor

Message from Emmanuel Odeke:

Patch Set 9: Run-TryBot+1 Code-Review+2


Please don’t reply on this GitHub thread. Visit golang.org/cl/199857.
After addressing review feedback, remember to publish your drafts!

@gopherbot
Copy link
Contributor

Message from Gobot Gobot:

Patch Set 9:

TryBots beginning. Status page: https://farmer.golang.org/try?commit=4bd78c7d


Please don’t reply on this GitHub thread. Visit golang.org/cl/199857.
After addressing review feedback, remember to publish your drafts!

@gopherbot
Copy link
Contributor

Message from Emmanuel Odeke:

Patch Set 9:

Thank you and congrats Nathan, welcome officially to the Go project! Thank you Ian for the review.


Please don’t reply on this GitHub thread. Visit golang.org/cl/199857.
After addressing review feedback, remember to publish your drafts!

@gopherbot
Copy link
Contributor

Message from Gobot Gobot:

Patch Set 9:

Build is still in progress...
This change failed on freebsd-amd64-12_0:
See https://storage.googleapis.com/go-build-log/3322f3e0/freebsd-amd64-12_0_810410c9.log

Other builds still in progress; subsequent failure notices suppressed until final report. Consult https://build.golang.org/ to see whether they are new failures. Keep in mind that TryBots currently test exactly your git commit, without rebasing. If your commit's git parent is old, the failure might've already been fixed.


Please don’t reply on this GitHub thread. Visit golang.org/cl/199857.
After addressing review feedback, remember to publish your drafts!

gopherbot pushed a commit that referenced this pull request Oct 10, 2019
Histogram data still needs to be converted and
timestamps are not attached as they are not yet available.

What works:

* convertMetric will now convert Int64Data and Float64Data.

What does not work yet:

* Histogram64Int and Histogram64Float will still not be converted.
* StartTime and EndTime will not be attached to timeseries and points.
* MetricDescriptors will not have a unit attached.
* no labels will be attached to timeseries.

Updates golang/go#33819

Change-Id: I65f9af716ba6282e809d0a9d10777d70475e4c83
GitHub-Last-Rev: 10820a9
GitHub-Pull-Request: #170
Reviewed-on: https://go-review.googlesource.com/c/tools/+/199857
Reviewed-by: Emmanuel Odeke <emm.odeke@gmail.com>
Reviewed-by: Ian Cottrell <iancottrell@google.com>
Run-TryBot: Emmanuel Odeke <emm.odeke@gmail.com>
@gopherbot
Copy link
Contributor

Message from Gobot Gobot:

Patch Set 9: TryBot-Result-1

9 of 10 TryBots failed:
Failed on freebsd-amd64-12_0: https://storage.googleapis.com/go-build-log/3322f3e0/freebsd-amd64-12_0_810410c9.log
Failed on linux-amd64 (Go 1.13.x): https://storage.googleapis.com/go-build-log/49073c57/linux-amd64_371b228e.log
Failed on linux-amd64: https://storage.googleapis.com/go-build-log/3322f3e0/linux-amd64_5691c130.log
Failed on linux-386: https://storage.googleapis.com/go-build-log/3322f3e0/linux-386_b655773f.log
Failed on windows-amd64-2016: https://storage.googleapis.com/go-build-log/3322f3e0/windows-amd64-2016_4edda2d8.log
Failed on windows-386-2008: https://storage.googleapis.com/go-build-log/3322f3e0/windows-386-2008_fa9ffefc.log
Failed on openbsd-amd64-64: https://storage.googleapis.com/go-build-log/3322f3e0/openbsd-amd64-64_1599e0a1.log
Failed on linux-amd64-race: https://storage.googleapis.com/go-build-log/3322f3e0/linux-amd64-race_b5420a82.log
Failed on android-amd64-emu: https://storage.googleapis.com/go-build-log/3322f3e0/android-amd64-emu_42010042.log

Consult https://build.golang.org/ to see whether they are new failures. Keep in mind that TryBots currently test exactly your git commit, without rebasing. If your commit's git parent is old, the failure might've already been fixed.


Please don’t reply on this GitHub thread. Visit golang.org/cl/199857.
After addressing review feedback, remember to publish your drafts!

@gopherbot
Copy link
Contributor

This PR is being closed because golang.org/cl/199857 has been merged.

@gopherbot gopherbot closed this Oct 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
3 participants