Skip to content

issues Search Results · repo:google/go-metrics-stackdriver language:Go

Filter by

9 results
 (69 ms)

9 results

ingoogle/go-metrics-stackdriver (press backspace or delete to remove)

go-metrics has added a Shutdown() method to the interface ( https://pkg.go.dev/github.com/armon/go-metrics?utm_source=godoc#MetricSink ) func (s *Sink) Shutdown() { s.Close(context.Background()) }
  • nickjenkin
  • Opened 
    on May 5, 2022
  • #22

This library used to work, but lately it started to produce weird and inaccurate values. If I run the full example and check in stackdriver UI for foo metric: m.AddSample([]string{ foo }, 100), the result ...
  • noam-ma-ma
  • 2
  • Opened 
    on Jan 10, 2022
  • #21

https://pkg.go.dev/github.com/google/go-metrics-stackdriver#NewSink currently only accepts a https://pkg.go.dev/cloud.google.com/go/monitoring/apiv3#MetricClient which says: Deprecated: Please use cloud.google.com/go/monitoring/apiv3/v2. ...
  • tam7t
  • Opened 
    on Sep 1, 2021
  • #20

It turns out that a counter metrics use a gauge metric type as here MetricKind: metricpb.MetricDescriptor_GAUGE, This doesn t seem to be right. According to documentation of Aligner I am unable to calculate ...
  • prog8
  • 10
  • Opened 
    on Aug 10, 2021
  • #18

Hi. In some cases, there is a graceful shutdown logic of the application (such as in Cloud Run), and I need a way to gracefully shutdown the Sink as well, so pending metrics will get sent upon closure ...
  • yarelm
  • 3
  • Opened 
    on Jul 22, 2021
  • #15

We are facing this error when using the library: 2021/02/12 18:23:36 Failed to write time series data: rpc error: code = InvalidArgument desc = One or more TimeSeries could not be written: Field timeSeries[11] ...
  • nicolasgere
  • 4
  • Opened 
    on Feb 12, 2021
  • #11

Failed to write time series data: rpc error: code = InvalidArgument desc = One or more TimeSeries could not be written: Field timeSeries[8] had an invalid value: Duplicate TimeSeries encountered. Only ...
  • tam7t
  • 1
  • Opened 
    on Dec 13, 2019
  • #5

gometrics supports gauge/counter/histograms with all the same key . example: https://github.com/hashicorp/vault/blob/35667f93a7afce915c4cd5fed99682918c46f60e/sdk/database/dbplugin/databasemiddleware.go#L122-L134 ...
  • tam7t
  • Opened 
    on Dec 12, 2019
  • #4

The expectations in stackdriver_test.go would be much more readable of a package like protocmp was used for ensuring the requests had the correct data.
  • tam7t
  • Opened 
    on Nov 28, 2019
  • #2
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Restrict your search to the title by using the in:title qualifier.
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Press the
/
key to activate the search input again and adjust your query.
Issue search results · GitHub