go.mod: update to images@v0.117.0
This commit updates to images v0.117.0 so that the cross-distro.sh test works again (images removed fedora-39.json in main but the uses the previous version of images that includes fedora-39 so there is a mismatch (we should look into if there is a way to get github.com/osbuild/images@latest instead of main in the cross-arch test). It also updates all the vendor stuff that got pulled via the new images release (which is giantonormous). This update requires updating the Go version to 1.22.8
This commit is contained in:
parent
886ddc0bcc
commit
409b4f6048
584 changed files with 60776 additions and 50181 deletions
|
|
@ -3,7 +3,14 @@
|
|||
[](https://pkg.go.dev/github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/metric)
|
||||
[![Apache License][license-image]][license-url]
|
||||
|
||||
OpenTelemetry Google Cloud Monitoring Exporter allow the user to send collected metrics to Google Cloud.
|
||||
OpenTelemetry Google Cloud Monitoring Exporter allows the user to send collected metrics to Google Cloud.
|
||||
|
||||
To get started with instrumentation in Google Cloud, see [Generate traces and metrics with
|
||||
Go](https://cloud.google.com/stackdriver/docs/instrumentation/setup/go).
|
||||
|
||||
To learn more about instrumentation and observability, including opinionated recommendations
|
||||
for Google Cloud Observability, visit [Instrumentation and
|
||||
observability](https://cloud.google.com/stackdriver/docs/instrumentation/overview).
|
||||
|
||||
[Google Cloud Monitoring](https://cloud.google.com/monitoring) provides visibility into the performance, uptime, and overall health of cloud-powered applications. It collects metrics, events, and metadata from Google Cloud, Amazon Web Services, hosted uptime probes, application instrumentation, and a variety of common application components including Cassandra, Nginx, Apache Web Server, Elasticsearch, and many others. Operations ingests that data and generates insights via dashboards, charts, and alerts. Cloud Monitoring alerting helps you collaborate by integrating with Slack, PagerDuty, and more.
|
||||
|
||||
|
|
|
|||
|
|
@ -68,7 +68,7 @@ type key struct {
|
|||
libraryname string
|
||||
}
|
||||
|
||||
func keyOf(metrics metricdata.Metrics, library instrumentation.Library) key {
|
||||
func keyOf(metrics metricdata.Metrics, library instrumentation.Scope) key {
|
||||
return key{
|
||||
name: metrics.Name,
|
||||
libraryname: library.Name,
|
||||
|
|
@ -426,7 +426,7 @@ func recordToMdpbKindType(a metricdata.Aggregation) (googlemetricpb.MetricDescri
|
|||
}
|
||||
|
||||
// recordToMpb converts data from records to Metric proto type for Cloud Monitoring.
|
||||
func (me *metricExporter) recordToMpb(metrics metricdata.Metrics, attributes attribute.Set, library instrumentation.Library, extraLabels *attribute.Set) *googlemetricpb.Metric {
|
||||
func (me *metricExporter) recordToMpb(metrics metricdata.Metrics, attributes attribute.Set, library instrumentation.Scope, extraLabels *attribute.Set) *googlemetricpb.Metric {
|
||||
me.mdLock.RLock()
|
||||
defer me.mdLock.RUnlock()
|
||||
k := keyOf(metrics, library)
|
||||
|
|
|
|||
|
|
@ -92,7 +92,7 @@ type options struct {
|
|||
// WithProjectID sets Google Cloud Platform project as projectID.
|
||||
// Without using this option, it automatically detects the project ID
|
||||
// from the default credential detection process.
|
||||
// Please find the detailed order of the default credentail detection proecess on the doc:
|
||||
// Please find the detailed order of the default credential detection process on the doc:
|
||||
// https://godoc.org/golang.org/x/oauth2/google#FindDefaultCredentials
|
||||
func WithProjectID(id string) func(o *options) {
|
||||
return func(o *options) {
|
||||
|
|
|
|||
|
|
@ -17,5 +17,5 @@ package metric
|
|||
// Version is the current release version of the OpenTelemetry
|
||||
// Operations Metric Exporter in use.
|
||||
func Version() string {
|
||||
return "0.48.1"
|
||||
return "0.49.0"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -221,9 +221,8 @@ func commonResourceAttributesToMonitoredResource(cloudPlatform string, attrs Rea
|
|||
return createMonitoredResource(k8sPod, attrs)
|
||||
} else if _, ok := attrs.GetString(string(semconv.K8SNodeNameKey)); ok {
|
||||
return createMonitoredResource(k8sNode, attrs)
|
||||
} else {
|
||||
return createMonitoredResource(k8sCluster, attrs)
|
||||
}
|
||||
return createMonitoredResource(k8sCluster, attrs)
|
||||
}
|
||||
|
||||
// Fallback to generic_task
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue