mirror of
https://github.com/pomerium/pomerium.git
synced 2025-08-03 08:50:42 +02:00
config: add enable_google_cloud_serverless_authentication to config protobuf (#2306)
* config: add enable_google_cloud_serverless_authentication to config protobuf
* use dependency injection for embedded envoy provider
* Revert "use dependency injection for embedded envoy provider"
This reverts commit 5c08990501
.
* config: attach envoy version to Config to avoid metrics depending on envoy/files
This commit is contained in:
parent
8cd1f42281
commit
fcb33966e2
12 changed files with 477 additions and 457 deletions
|
@ -133,7 +133,6 @@ func SetDBConfigInfo(ctx context.Context, service, configID string, version uint
|
|||
); err != nil {
|
||||
log.Error(ctx).Err(err).Msg("telemetry/metrics: failed to record config error count")
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// SetDBConfigRejected records that a certain databroker config version has been rejected
|
||||
|
@ -176,8 +175,8 @@ func SetConfigInfo(ctx context.Context, service, configName string, checksum uin
|
|||
|
||||
// SetBuildInfo records the pomerium build info. You must call RegisterInfoMetrics to
|
||||
// have this exported
|
||||
func SetBuildInfo(service, hostname string) {
|
||||
registry.setBuildInfo(service, hostname)
|
||||
func SetBuildInfo(service, hostname, envoyVersion string) {
|
||||
registry.setBuildInfo(service, hostname, envoyVersion)
|
||||
}
|
||||
|
||||
// RegisterInfoMetrics registers non-view based metrics registry globally for export
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue