instago

package module
v1.29.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 14, 2024 License: MIT Imports: 0 Imported by: 0

README

Instana instrumentation for Google Cloud Platform

This module contains instrumentation code for Google Cloud Platform clients that use cloud.google.com/go libraries.

GoDoc

Installation

This instrumentation module requires Go v1.19 as the minimum version.

To add the module to your go.mod file run the following command in your project directory:

$ go get github.com/instana/go-sensor/instrumentation/cloud.google.com/go

Usage

The instrumentation is split by Google Cloud Platform services and follows the structure of the original library.

The general approach of this module is to replace cloud.google.com/go package in your imports section with the corresponding package of github.com/instana/go-sensor/instrumentation/cloud.google.com/go. However, if your code references value types, such as cloud.google.com/go/storage.ObjectAttrs or cloud.google.com/go/iam.Policy you might need to add a named import of the original library as well.

Instrumented services

GCP service Instrumentation package Support
Google Cloud Storage github.com/instana/go-sensor/instrumentation/cloud.google.com/go/storage Fully instrumented
Google Cloud Pub/Sub github.com/instana/go-sensor/instrumentation/cloud.google.com/go/pubsub Publisher & subscriber methods
Google Cloud IAM github.com/instana/go-sensor/instrumentation/cloud.google.com/go/iam GCS buckets IAM only

Documentation

Index

Constants

View Source
const Version = "1.29.0"

Version is the instrumentation module semantic version

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis
Package iam provides Instana tracing instrumentation for for Google Cloud IAM clients that use cloud.google.com/go/iam
Package iam provides Instana tracing instrumentation for for Google Cloud IAM clients that use cloud.google.com/go/iam
Package pubsub provides Instana tracing instrumentation for Google Cloud Pub/Sub producers and consumers that use cloud.google.com/go/pubsub.
Package pubsub provides Instana tracing instrumentation for Google Cloud Pub/Sub producers and consumers that use cloud.google.com/go/pubsub.
Package storage provides Instana tracing instrumentation for Google Cloud Storage clients that use cloud.google.com/go/storage
Package storage provides Instana tracing instrumentation for Google Cloud Storage clients that use cloud.google.com/go/storage

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL