Skip to content

muratagyz/TelemetrySuite

Repository files navigation

TelemetrySuite

This project is a simple ASP.NET Core Web API project for collecting and exporting telemetry data (logs, traces, and metrics) using OpenTelemetry.

Features

  • ASP.NET Core Web API
  • OpenTelemetry integration for logging, tracing, and metrics.
  • Exports telemetry data to the console and an OTLP (OpenTelemetry Protocol) endpoint.
  • Includes a docker-compose.yaml to run the application and a Jaeger instance.
  • A simple Product API with GET endpoints.

Technologies Used

  • .NET
  • ASP.NET Core
  • OpenTelemetry
  • Docker
  • Jaeger

Getting Started

Prerequisites

  • .NET SDK
  • Docker Desktop

Running the Application

  1. Clone the repository.
  2. Navigate to the root directory.
  3. Run the command docker-compose up --build.
  4. The API will be available at http://localhost:8090.
  5. The Jaeger UI will be available at http://localhost:16686.

API Endpoints

  • GET /api/product: Retrieves a list of all products.
  • GET /api/product/{id}: Retrieves a product by its ID.
  • GET /api/google: Makes a request to google.com to demonstrate HTTP client instrumentation.

Postman Collection

A Postman collection, Telemetry API Collection.postman_collection.json, is included for testing the API endpoints.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published