Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Open-source sans Burn Out ? Le modèle CNCF

Open-source sans Burn Out ? Le modèle CNCF

Damien Mathieu

February 03, 2025
Tweet

More Decks by Damien Mathieu

Other Decks in Programming

Transcript

  1. Comment fonctionne OpenTelemetry Comment rendre son projet libre viable Comment

    s’assurer que les projets que l’on utilise sont viables
  2. package main import ( "context" "math/rand/v2" "go.opentelemetry.io/otel" ) var tracer

    = otel.Tracer("dice") func roll(ctx context.Context, min, max int) int { ctx, span := tracer.Start(ctx, "roll") defer span.End() return rand.IntN(max-min) + min }
  3. const { trace } = require('@opentelemetry/api'); const tracer = trace.getTracer('dice');

    function roll(min, max) { return tracer.startActiveSpan('roll', (span) => { const result = Math.floor(Math.random() * (max - min) + min); span.end(); return result; }); }
  4. class Animal def name; end def adult?; end end type

    Animal interface { Name() string } type IsAdultAnimal interface { IsAdult() bool }
  5. The Animal is responsible for describing animals. ANIMAL The `Animal`

    MUST provide functions to: Retrieve the animal’s name. The `Animal` SHOULD provide functions to: Retrieve whether the animal has reached full growth or not.
  6. package main import ( "context" "math/rand/v2" "go.opentelemetry.io/otel" ) var tracer

    = otel.Tracer("dice") func roll(ctx context.Context, min, max int) int { ctx, span := tracer.Start(ctx, "roll") defer span.End() return rand.IntN(max-min) + min }
  7. COMMENT JE RENDS MON PROJET VIABLE ? ET JE M’ASSURE

    QUE LES PROJETS QUE J’UTILISE SONT VIABLES
  8. It's a dangerous business, Frodo, going out your door. You

    step onto the road, and if you don't keep your feet, there's no knowing where you might be swept o ff to.