datacite / lupo

DataCite REST API
https://api.datacite.org
MIT License
12 stars 8 forks source link

Analyze GraphQL getDoiQuery execution #1113

Closed ashwinisukale closed 6 months ago

ashwinisukale commented 10 months ago

https://app.datadoghq.com/apm/traces?query=env%3Aproduction%20operation_name%3Aexecute.graphql%20service%3Agraphql%20resource_name%3AgetDoiQuery__client_api__0&cols=core_service%2Ccore_resource_name%2Clog_duration%2Clog_http.method%2Clog_http.status_code&graphType=span_list&historicalData=true&messageDisplay=inline&query_translation_version=v0&shouldShowLegend=true&sort=time&sort_by=%40duration&sort_order=desc&spanType=all&spanViewType=metadata&traceQuery=&view=spans&start=1706765446795&end=1707370246795&paused=true

Here we can see getDoiQuery mostly called by the bots, and maximum time taken by this query is at Elastic Search.

As part of this ticket we will be analysing the elastic search for the improvement.