Like Prometheus, but for logs.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
loki/vendor/cloud.google.com/go
renovate[bot] 4dc095c164
fix(deps): update module cloud.google.com/go/storage to v1.52.0 (main) (#17398)
1 month ago
..
auth fix(deps): update module google.golang.org/api to v0.229.0 (main) (#17222) 1 month ago
bigtable fix(deps): update module cloud.google.com/go/bigtable to v1.37.0 (main) (#17259) 1 month ago
civil fix(deps): update module cloud.google.com/go/bigtable to v1.36.0 (main) (#17186) 1 month ago
compute/metadata fix(deps): update module google.golang.org/api to v0.213.0 (#15455) 5 months ago
iam fix(deps): update module cloud.google.com/go/bigtable to v1.37.0 (main) (#17259) 1 month ago
internal fix(deps): update module cloud.google.com/go/bigtable to v1.36.0 (main) (#17186) 1 month ago
longrunning fix(deps): update module cloud.google.com/go/bigtable to v1.36.0 (main) (#17186) 1 month ago
monitoring fix(deps): update module cloud.google.com/go/bigtable to v1.36.0 (main) (#17186) 1 month ago
pubsub fix(deps): update module cloud.google.com/go/pubsub to v1.49.0 (main) (#17187) 1 month ago
storage fix(deps): update module cloud.google.com/go/storage to v1.52.0 (main) (#17398) 1 month ago
.gitignore update vendored cortex and add new replace overrides (#3256) 4 years ago
.release-please-manifest-individual.json fix(deps): update module cloud.google.com/go/bigtable to v1.36.0 (main) (#17186) 1 month ago
.release-please-manifest-submodules.json fix(deps): update module cloud.google.com/go/bigtable to v1.36.0 (main) (#17186) 1 month ago
.release-please-manifest.json fix(deps): update module cloud.google.com/go/bigtable to v1.36.0 (main) (#17186) 1 month ago
CHANGES.md fix(deps): update module cloud.google.com/go/bigtable to v1.36.0 (main) (#17186) 1 month ago
CODE_OF_CONDUCT.md loki: use new runtimeconfig package from Cortex (#1484) 5 years ago
CONTRIBUTING.md feat: upgrade prometheus (#13671) 10 months ago
LICENSE Move promtail from kausalco/public, update it for prometheus changes. 7 years ago
README.md fix(deps): update module cloud.google.com/go/storage to v1.51.0 (main) (#16720) 2 months ago
RELEASING.md Chore: Upgrade to latest Cortex (#5085) 3 years ago
SECURITY.md Chore: Upgrade Prometheus and Cortex (#4017) 4 years ago
debug.md fix(deps): update module cloud.google.com/go/bigtable to v1.35.0 (main) (#15951) 4 months ago
doc.go fix(deps): update module cloud.google.com/go/bigtable to v1.34.0 (#15581) 5 months ago
migration.md Update Prometheus dependency to latest release (v2.40.4) (#7826) 3 years ago
release-please-config-individual.json fix(deps): update module cloud.google.com/go/bigtable to v1.34.0 (#15581) 5 months ago
release-please-config-yoshi-submodules.json fix(deps): update module cloud.google.com/go/bigtable to v1.36.0 (main) (#17186) 1 month ago
release-please-config.json Update Prometheus dependency to latest release (v2.40.4) (#7826) 3 years ago
testing.md feat: upgrade prometheus (#13671) 10 months ago

README.md

Google Cloud Client Libraries for Go

Go Reference

Go packages for Google Cloud Platform services.

Installation

go get cloud.google.com/go/firestore@latest # Replace firestore with the package you want to use.

NOTE: Some of these packages are under development, and may occasionally make backwards-incompatible changes.

Supported APIs

For an updated list of all of our released APIs please see our reference docs.

Go Versions Supported

Our libraries are compatible with the two most recent major Go releases, the same policy the Go programming language follows. This means the currently supported versions are:

  • Go 1.23
  • Go 1.24

Authorization

By default, each API will use Google Application Default Credentials for authorization credentials used in calling the API endpoints. This will allow your application to run in many environments without requiring explicit configuration.

client, err := storage.NewClient(ctx)

To authorize using a JSON key file, pass option.WithCredentialsFile to the NewClient function of the desired package. For example:

client, err := storage.NewClient(ctx, option.WithCredentialsFile("path/to/keyfile.json"))

You can exert more control over authorization by using the credentials package to create an auth.Credentials. Then pass option.WithAuthCredentials to the NewClient function:

creds := ...
client, err := storage.NewClient(ctx, option.WithAuthCredentials(creds))

Contributing

Contributions are welcome. Please, see the CONTRIBUTING document for details.

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms. See Contributor Code of Conduct for more information.