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
Get statistics when mongocOnly activated on Orion-LD #1577
Comments
I assume these statistics you talk about is the metrics from NGSIv2. What we do have, quite rudimentary still, is support for Prometheus metrics (on port 8000). |
That said, if you need some specific metrics, I'd be happy to implement that. It's quite easy. |
Hi Ken, I need the internal metrics from Orion-LD. When the mongocOnly mode is disabled, meaning when Orion-LD is connected to a stand-alone MongoDB, I can access the performance indicators normally. The issue arises when I clusterize MongoDB, requiring the use of mongocOnly, which disables access to these parameters. I included the following parameters in the command: "-statCounters", "-statSemWait", "-statTiming", "-statNotifQueue".
Response:
|
Hi Ken, do you have any updates on this issue? |
Ah, I thought I had answered already. |
Hi Ken, thanks for answering my question. So, I need the following metrics: incomingTransactions, incomingTransactionRequestSize, incomingTransactionResponseSize, incomingTransactionErrors, serviceTime, outgoingTransactions, outgoingTransactionRequestSize, outgoingTransactionResponseSize, and outgoingTransactionErrors. It would be desirable to have access to Orion-LD's internal statistics. For example: curl --location 'http://<ip>:1026/admin/metrics' Response:
When I connect Orion-LD to MongoDB Community Operator setup with 'mongoConly', this request doesn't work! Return:
The same behavior happens in /statistics requests! For example: curl --location 'http://<ip>:1026/statistics'
Return:
When I connect Orion-LD to MongoDB Community Operator setup with 'mongoConly', this request doesn't work!
Your help will be of great importance! |
Issue
When Orion-LD is running on Kubernetes and utilizing the clustered MongoDB, the mongocOnly environment variable is used to ensure everything works. However, activating mongocOnly prevents obtaining internal statistics from the clustered Orion-LD. Attempts to retrieve these statistics result in an HTTP message stating that 'Non NGSI-LD requests are not supported when -mongocOnly is set'.
Describe the solution you'd like
I would like to obtain these internal performance indicator information from Orion-LD even when mongocOnly mode is activated. Is there any estimate for this feature to be implemented?
Describe why you need this feature
To analyze these statistics to observe the behavior of each broker present in the cluster.
Do you have the intention to implement the solution
No, I do not have the skills.
The text was updated successfully, but these errors were encountered: