Add support for multiple collector endpoints in one TelemetryManager instance
Los mantenedores suelen responder en 5 días
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 25/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Estancado
- Stack tecnológico
- cpp, sqlite
Línea de trabajo
Comienza rastreando la configuración de TelemetryManager, la interfaz para publicar eventos y la tabla de almacenamiento de eventos de SQLite descritas en la issue. Determina cómo se transportan el contexto de la cuenta y las URL de ingestion desde la creación del evento hasta el envío diferido. Se considera terminado cuando se pueden configurar varias URL específicas de usuario sin reiniciar, los eventos conservan su contexto y cada evento se envía a la URL correspondiente.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Current library state and problem statement:
Multi user scenario implies that a number of users (greater that 1) can make and receive a Call during 1C3 communication stack life time without library being restarted.
One of the user-dependent context information in case of user being part of restricted/geo-locked cloud may be Telemetry ingestion URL, which must be different from regular production URL due to privacy/security requirements for specific cloud.
Problem statement:
Current 1DS library design allows for 2 ways of configuring ingestion URL;
-At library start , either using defaults or override provided via Setup key.
-At runtime, using ECS configuration.
Main issue with both methods is that the URL is set globally for all events, the ones cached from previous sessions and currently received ones.
Given that events may not be sent immediately but rather could be stored into data base for later processing and sending, there is no guarantee that event stored at any time will be sent with the URL that matches the user context.
In short, current telemetry event do not carry enough user context, they need to respect the user context they were created with.
Additionally, it should be possible to configure ingestion URL-s according to user context without restarting IC3 communications library.
Proposed changes:
Per-user ingestion URL-s
Library needs to have a notion of storing multiple ingestion URLs together with an account/user context.
<std::pair<std::string: Account, std:string URL>>
Event stamping with user context
Event post interface needs to be updated with contextID field, which will represent the account/user context in which event needs to be sent.
Library will add correct ingestion URL to event payload by matching account ID with appropriate URL obtained from configuration.
At event sending time, URL will be read from event properties instead of configuration. This will require SQLite schema change in order to add new field to event storage table.
- Lenguaje dominante
- C
- Estrellas
- 102
- Forks
- 67
- Merge medio
- 5 d 5 h
- PR fusionados (30 d)
- 8
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de microsoft/cpp_client_telemetry
-
C API enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
microsoft/cpp_client_telemetry#628 ·
Los mantenedores suelen responder en 5 días
-
OneDS C++ SDK retries already-ingested iOS events, causing duplicate telemetry recordsPosiblemente ocupada @bmehta001 la tomó hace 4 días. Abiertobug
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
microsoft/cpp_client_telemetry#1542 · 1 comentario · 1 asignado ·
Los mantenedores suelen responder en 5 días
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
microsoft/cpp_client_telemetry#1504 ·
Los mantenedores suelen responder en 5 días
-
Dropping of telemetry eventsAbiertobug
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
microsoft/cpp_client_telemetry#1413 · 2 comentarios ·
Los mantenedores suelen responder en 5 días
-
bug
Dificultad 4/5 3-5 días Aptitud para principiantes 38/100
microsoft/cpp_client_telemetry#1387 ·
Los mantenedores suelen responder en 5 días
Todos los issues de microsoft/cpp_client_telemetry
Issues similares
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
HarbourMasters/Shipwright#7320 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
FujiNetWIFI/fujinet-firmware#1834 ·
Los mantenedores suelen responder en 1 día
-
Bug Status: Needs Triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
yanet-platform/yanet2#2874 ·
Los mantenedores suelen responder en 1 día