yandexmobile / appmetrica-logsapi-loader Goto Github PK
View Code? Open in Web Editor NEWA tool for automatic data loading from AppMetrica LogsAPI into (local) ClickHouse
Home Page: https://hub.docker.com/r/yandex/appmetrica-logsapi-loader/
A tool for automatic data loading from AppMetrica LogsAPI into (local) ClickHouse
Home Page: https://hub.docker.com/r/yandex/appmetrica-logsapi-loader/
I have used this code to load events data, unfortunately, it takes a long time to load events of one day, 7 hours! (7 hours with having updater._ensure_types commented). Also update feature is deactivated.
what should I do to make it faster? Since AppMetrica queues the requests I can not run multiple instances of the code.
Maybe use "error_id" otherwise "event_name" here?
https://github.com/yandexmobile/appmetrica-logsapi-loader/blob/master/fields/declaration.py#L195
on documentation errors table not contains "event_name" field
https://tech.yandex.ru/appmetrica/doc/mobile-api/logs/endpoints-docpage/#errors
ELECT EventParameters
FROM events_all
LIMIT 1
┌─EventParameters────────────────────────────────────┐
│ "{""GroupID"":""Default"",""PlayerID"":""...
It is inserted with escaped quotes(by quotes).
Clickhouse JSON functions can't parse this JSON, only this workaround is working replaceAll(EventParameters, \'""\', \'"\')
.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.