Skip to content

Commit

Permalink
Change default url
Browse files Browse the repository at this point in the history
  • Loading branch information
steffenmllr committed Jan 30, 2024
1 parent 706808f commit 0950638
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions analytics/agma/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# agma Analytics

In order to use the Agma Analytics Adapter, please adjust the accounts with the data provided by agma (https://www.agma-mmc.de).
In order to use the Agma Analytics Adapter, please adjust the accounts / endpoint with the data provided by agma (https://www.agma-mmc.de).

## Configuration

Expand All @@ -16,7 +16,7 @@ analytics:
site_app_id: "openrtb2-site.id-or-app.id" # optional: scope to the publisher with an openrtb2 Site object id or App object id
# Optional properties (advanced configuration)
endpoint:
url: "https://pbs-go.agma-analytics.de/v1/prebid-server"
url: "https://go.pbs.agma-analytics.de/v1/prebid-server" # Check with agma with you need a extra url
timeout: "2s"
gzip: true
buffer: # Flush events when (first condition reached)
Expand Down
2 changes: 1 addition & 1 deletion config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -1073,7 +1073,7 @@ func SetupViper(v *viper.Viper, filename string, bidderInfos BidderInfos) {
v.SetDefault("analytics.pubstack.buffers.count", 100)
v.SetDefault("analytics.pubstack.buffers.timeout", "900s")
v.SetDefault("analytics.agma.enabled", false)
v.SetDefault("analytics.agma.endpoint.url", "https://pbs-go.agma-analytics.de/v1/prebid-server")
v.SetDefault("analytics.agma.endpoint.url", "https://go.pbs.agma-analytics.de/v1/prebid-server")
v.SetDefault("analytics.agma.endpoint.timeout", "2s")
v.SetDefault("analytics.agma.endpoint.gzip", false)
v.SetDefault("analytics.agma.buffers.size", "2MB")
Expand Down
2 changes: 1 addition & 1 deletion config/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ func TestDefaults(t *testing.T) {
cmpBools(t, "analytics.agma.enabled", false, cfg.Analytics.Agma.Enabled)
cmpStrings(t, "analytics.agma.endpoint.timeout", "2s", cfg.Analytics.Agma.Endpoint.Timeout)
cmpBools(t, "analytics.agma.endpoint.gzip", false, cfg.Analytics.Agma.Endpoint.Gzip)
cmpStrings(t, "analytics.agma.endppoint.url", "https://pbs-go.agma-analytics.de/v1/prebid-server", cfg.Analytics.Agma.Endpoint.Url)
cmpStrings(t, "analytics.agma.endppoint.url", "https://go.pbs.agma-analytics.de/v1/prebid-server", cfg.Analytics.Agma.Endpoint.Url)
cmpStrings(t, "analytics.agma.buffers.size", "2MB", cfg.Analytics.Agma.Buffers.BufferSize)
cmpInts(t, "analytics.agma.buffers.count", 100, cfg.Analytics.Agma.Buffers.EventCount)
cmpStrings(t, "analytics.agma.buffers.timeout", "15m", cfg.Analytics.Agma.Buffers.Timeout)
Expand Down

0 comments on commit 0950638

Please sign in to comment.