Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Add support for multiple collector endpoints in one TelemetryManager instance

Abierto
#947 5 comentarios 0 reacciones 0 asignados Ver en GitHub

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

design enhancement iOS
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

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de microsoft/cpp_client_telemetry

Todos los issues de microsoft/cpp_client_telemetry

Issues similares

Más issues de C

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.