Hi, team. I have a question. Installation and test...
# all-things-deployment
s
Hi, team. I have a question. Installation and testing were conducted in local according to the https://datahubproject.io/docs/advanced/monitoring/#enable-monitoring-through-docker-compose guide. I want to get the count metric information that the user searched.
metrics_com_linkedin_metadata_resources_entity_EntityResource_search_Count
I think this key is the one I'm looking for, but it doesn't appear in the search. Which key should I check?
d
Hi SJ, • Is your instance newly deployed? In newly started instances the metrics are not appearing until there is no activity on them. If you use search then it will start counting. • If not, can you query the endpoint that is being scraped by Prometheus and check the metrics there? What can you see as a result of
curl <GMS_HOST:PORT>/metrics
context :https://datahubspace.slack.com/archives/C029A3M079U/p1675345534183649
s
Hi, Heyjin
Is your instance newly deployed? In newly started instances the metrics are not appearing until there is no activity on them. If you use search then it will start counting.
If not, can you query the endpoint that is being scraped by Prometheus and check the metrics there? What can you see as a result of
curl <GMS_HOST:PORT>/metrics
When I checked
<GMS_HOST:PORT>/metrics
, if I use the key of
metrics_com_datahub_graphql_GraphQLController_searchAcrossEntities_Count
, the metrics will be counted when I search, is that correct? My purpose is to find the
key
of a metric that is counted when I do a search in the datahub UI.