Create a "metrics" proxy endpoint
See original GitHub issueIt should be used by the Frontend in order to send any kind of metric. Something like:
/api/v1/metrics/
{
type: 'add-layer',
params: {
value: 'table_1',
user_id: 'xxxx-xxxx-xxxx-xxxx',
vis_id: 'xxxx-xxxx-xxxx-xxxx'
}
}
It would need changes in frontend in order to send those events, but piece of cake.
Issue Analytics
- State:
- Created 7 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Monitoring RDS Proxy metrics with Amazon CloudWatch
You can monitor RDS Proxy by using Amazon CloudWatch. CloudWatch collects and processes raw data from the proxies into readable, near-real-time metrics.
Read more >pambrose/prometheus-proxy
Prometheus Proxy enables Prometheus to reach metrics endpoints running behind a firewall and preserves the pull model. The prometheus-proxy runtime comprises 2 ...
Read more >Monitoring REST Proxy
The REST Proxy has two types of metrics. Global metrics help you monitor the overall health of the service. Per-endpoint metrics monitor each...
Read more >Analytics metrics, dimensions, and filters reference
Custom Reports name Name to use in the management API Description
Access Token access_token The app end user's OAuth acc...
API Product api_product
Cache Source ax_cache_source...
Read more >Traffic Metrics - Kuma
You can add metrics to a mesh configuration, or to an individual data plane proxy configuration. For example, you might need metrics for ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
That’s not such a bad idea indeed. constantize is safe (it will fail if
params[:name]
doesn’t match anything), so there’s no security risk. And I can’t foresee any security concern atnew(params[:payload])
either, so that seems quite comfortable. Dynamic instantiation of clases is one of the few actual advantages/shortcuts ofcrappydynamic languages, so go for it!I’m becoming more open-minded, I guess 😄
Closed via https://github.com/CartoDB/cartodb/pull/9521