Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OTT-1124: add graceful shutdown function for stats-server #512

Merged
merged 3 commits into from Jun 22, 2023

Conversation

ashishshinde-pubm
Copy link
Collaborator

No description provided.

@ashishshinde-pubm ashishshinde-pubm changed the base branch from ci to OTT-1104 June 22, 2023 12:53
@ashishshinde-pubm ashishshinde-pubm merged commit 67ced9f into OTT-1104 Jun 22, 2023
ShriprasadM pushed a commit that referenced this pull request Jul 14, 2023
* add improvements to ow module

* use concrete adunit, major refactor, complete tracker

* complete logger

* logger complete

* go mod tidy

* INCOMPLETE: move hookexecutor at request level

* multi cur and pubmatic seat = 0

* INCOMPLETE: move hookexecutor at request level

* bug fixes 1

* add module rejection and start adunitconfig

* adunit cfg done

* minor fixes

* minor fixes 2

* use rctx for response, logger, tracker

* typo

* minor improvements

* add processed auction hook

* send all bids done

* minor fix: send all bids

* fix: vast tag cache timeout

* assert ow bidder initialisation

* fix: log dropped bids in owlogger

* fix the condition to eval droppedbids

* owlogger always logs wb

* fix account level bidderparams

* add nobid

* fix: false nobids

* remove stale non prebid ext

* matched impression

* user seeat for partnerid in wl

* complete video bid ext

* fix pn in wl

* complete marketplace wl and minor request patches

* complete regex and minor bug fixes

* fix adapter throttle

* fix wl pn

* verbose logging for module panic

* add module ctx assertion logs

* fix pn in wt

* af for nobid

* TEMP: LOCAL DOCKER

* add response.ext.sendallbids

* fix af

* dont log throttle-nobid in wl

* ignore manual_build

* fix: dont log throttle-nobid in wl

* ab test

* temp. fix bid.ext.prebid.video

* tgid if wl

* case insensitive slotname

* fix: client config

* typo

* fix1 GetClientConfigForMediaType

* remove duplicate bidext.perbid

* pubmatic default mapping refactor, regex todo

* add bidExt.Prebid nil assertion

* REVIEW: kgp, kgpv, kgpsv

* fix imp.ext.reward

* nobid for non-mapped bidders

* assert module rejection + alias

* fix bidder param hw typo

* slot regex + package cache refactor

* fix generate slot regex based name

* fix slot key gen

* regex slot wl fix

* wt kgpv

* fix dmx alias

* kgpsv typo

* macro ssai fix

* drop bids safely

* improve contenttransperencyobject.go

* fix video adunit apply typo

* sendallbids typo

* sendallbids typo 2

* video adunit battr typo

* go fmt

* change gomod name

* refactor nobid cases

* fix: fill fieldMap for pubmatic

* fix marketplace wl wt kgp*

* fix pubmatic kgpv overwrite

* fix pn pubmatic for marketplace bids

* fix: adunit regex check and req.user nil  typo

* fix wl gdpr

* fix user consent in wl

* add request.device validation

* minor wl refactor

* client client config banner format condition

* do not sent client config if it is disabled

* multiformat wl slot

* fix typo

* ignore 0x0 in sz

* fix last bad fix

* refactor sz

* refactor GetClientConfigForMediaType

* handle nobid GetClientConfigForMediaType

* handle imp type + fix ExtDevice

* fix multiformat kgpv kgpsv

* Check when bid.H and bid.W will be zero with Price !=0. Ex

* handle nil device.ext

* p1 GetClientConfigForMediaType

* get AU for V and B but apply only if req not nil

* move ow bidder param to pbs

* compete tracker

* fix tracker wrong param reference

* inject only one tracker in video

* fix dmx

* logInfo and minor refactor

* loginfo minor typos

* fix device ext ifa missing cases

* fix test = 1

* basic nbr, remove errorcodes

* add nbr scenarios

* fix auction race condition and floors adunit type

* add floor rules wrapper logger changes

* add pyroscope

* fix race condition

* add l1 in wl and minor wl refactor

* add rejected bids to wl

* rebuild tracker url for groupm

* fix fv in wl

* minor improvement for fr in wl

* default imp floor assertion

* add bidderparams for pubmatic2

* dv 360

* fix pubmatic2

* fix pb2

* add seatnobid in response

* typo

* include full bid in seatnobid

* update response ext with nbr

* minor imp

* update responseext with ow fields

* refactor response ext

* minor resp rctx refactor

* fix analyctis's request is nil for entry hook rejection

* minor refactor

* use concrete response ext type

* add client config for seatnobid

* fix wl for nbr

* refactor tmax

* add pprof

* add http_counter metrics

* move db queries to config

* refactor db query create

* fix wl client

* temp: video endpoint

* minor debug log improvements

* pyroscope read hostname

* pbs fix and minor improvement

* minor improvement in wl

* wl remove dead code

* use internal wl endpoint for call from s2s

* use gocommon client for wl

* add db connect log

* minor refactor

* add entrypoint hook test

* minor entrypoint refactor and test update

* prc 1

* bidderparams refactor

* remove redudant module to get account id

* remove pyroscope

* minor refactor

* fix: rebase typos

* club ow + sshb

* fix unimportable main

* update openrtb v17 to v19

* revert wrong commit

* use empty hook

* comment seatnonbid

* revert unintended changes

* fix typo

* remove duplicate content

* rename pbs.yaml

* remove config param mapping

* fix formatting

* fix module name

* add sshb flag

* fix sshb path checks

* update sshb tests

* fix FloorValueUSD UT

* Revert "Sharethrough: Support native ads (prebid#2780)"

This reverts commit de804a5.

* Revert "Appnexus: Add ext_inv_code and external_imp_id parameters (prebid#2792)"

This reverts commit 225e31e.

* Revert "Move httputil/responseutil to adapters/util and adapters/openrtb_util to exchange/util (prebid#2788)"

This reverts commit 0615109.

* Revert "PREB-39 added support for imp.ext and added imp.ext.skadn to it (prebid#2770)"

This reverts commit d527e2f.

* Revert "HuaweiAds: Handle getDeviceIDFromUserExt when ifa and user.ext are set (prebid#2796)"

This reverts commit 3a5d7c9.

* Revert "GPP in the cookie sync endpoint (prebid#2757)"

This reverts commit 708d917.

* OTT-1104: Move the stat-server from HB to prebid

* address test = 1 and 2

* fix test=2

* rename analytics and remove unused files

* remove wrong commit

* minor refactor

* add mockgen and db test

* migrate fsc db and cache code

* create cache mock

* update db mock

* add db sql driver mock

* OTT-1124: add graceful shutdown function for stats-server (#512)

* update universalpixel in auc

* make UniversalPixel ptr in auc

* correct UniversalPixel type in auc

* OTT-1073: add stats at before-validation stage

* OTT-1073: updated go.mod

* OTT-1124: add shutdown function for stats metric-engine

* OTT-1073: add shutdown across all metric-engine

* OTT-1073: adding stats at auction-response stage

* OTT-1073: add pubIDStr and profIDStr in rCtx

* OTT-1073: added UT for multi metric engine

* OTT-1073: remove unwanted comments

* OTT-1127 : Removed un-used stats metrics (#517)

* OTT-1127: remove unused functions from metricEngine

* auc: add native

* auc: add lower case kv of config

* auc: fix config json tag

* auc: add omitempty

* OTT-1073: record bad-requests, bidder-error stats, resp-time

* auc: uncomment json tag

* OTT-1073: record wrapper-logger-failures

* fix err typo in GetActivePartnerConfigurations

* disable floors wl code until modules is enabled

* Revert "disable floors wl code until modules is enabled"

This reverts commit 3354753.

* TEMP: coment FloorValueUSD

* OTT-1073: RecordMisConfigurationErrorStats

* OTT-1073: RecordPublisherPartnerNoCookieStats

* OTT-1073:RecordPublisherRequests

* OTT-1073: address review comments

* OTT-1073: address review comments

* OTT-1073: minor fix

* OTT-1073: fix GetLogAuctionObjectAsURL

* OTT-1073: make metricsengine as a part of request-ctx

* OTT-1073: do not record stat-metric for owlogger failure

* OTT-1073: fix error statement in logAuctionObject

* OTT-1073: remove log statement from LogAuctionObject

---------

Co-authored-by: Nilesh Chate <nilesh.chate@pubmatic.com>
Co-authored-by: Ankit-Pinge <128145896+Ankit-Pinge@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant