Skip to content

Commit

Permalink
feat: fix QR codes and images
Browse files Browse the repository at this point in the history
  • Loading branch information
blairdrummond committed May 26, 2024
1 parent b6e5056 commit 7c035a0
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 39 deletions.
Binary file modified public/tf-controller-basic-architecture.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/trace-explained.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions public/trace-explained.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/trace-explained2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
51 changes: 12 additions & 39 deletions slides.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,23 +33,23 @@ ul ul {

Blair Drummond

---
layout: two-cols
---

![OpenTelemetry](/otel.png){width=280}
![OpenTofu](/opentofu.svg){width=400px}

- The standard supported by all major log/metric/tracing providers
- OpenTelemetry enables *distributed tracing* and *context propogation*
<Transform :scale="1.8">

::right::
- The Open Source Successor to Terraform

<div class="mt-14"></div>
- Also `Weave TF-Controller => Flux Tofu-Controller`

![OpenTofu](/opentofu.svg){width=200}
</Transform>

---

- The open source fork of Terraform (Linux Foundation)
# A Trace is like Poutine

![Traces Explained](/trace-explained2.png)

---
layout: image-right
Expand Down Expand Up @@ -216,33 +216,6 @@ backgroundSize: 90%

---

# `TRACEPARENT` context propogator

<Transform :scale="1.3">

```go
if os.Getenv("TRACEPARENT") != "" {
tp, _ := traceparent.LoadFromEnv()
var flags trace.TraceFlags = 0
if tp.Sampling {
flags = 1
}
sc := trace.SpanContext{}.
WithTraceID(trace.TraceID(tp.TraceId)).
WithSpanID(trace.SpanID(tp.SpanId)).
WithTraceFlags(flags).
WithRemote(true)
ctx, otelSpan = tracer.Start(
trace.ContextWithRemoteSpanContext(context.Background(), sc),
fmt.Sprintf("tofu %s", displayArgs),
)
}
```

</Transform>

---

# Takeaways

<Transform :scale="1.7">
Expand Down Expand Up @@ -313,10 +286,10 @@ layout: two-cols

<div class="grid grid-cols-2 mt-12 ml-27 w-50">
<div class="h-48">
<QRCode value="https://liatrio.com" />
<QRCode value="https://hubs.ly/Q02yrGwg0" />
</div>
<div class="h-8 mt-7 ml-5">
<h2>liatrio.com</h2>
<div class="h-8 -mt-1 ml-5">
<p class="text-l"><i>Observing Delivery Platforms.pdf</i></p>
</div>
</div>

0 comments on commit 7c035a0

Please sign in to comment.