silverton-io / buz

Serverless multi-protocol + multi-destination event collection system.
https://buz.dev/
Apache License 2.0
192 stars 23 forks source link

Instrument readme #562

Closed jakthom closed 1 year ago

jakthom commented 1 year ago

This PR:

  1. Instruments each time the buz readme is hit (using the pixel and io.silverton/buz/pixel/pageView/v1.0 schema)
  2. Instruments and marks up all outbound links on the README (using the pixel and io.silverton/buz/pixel/linkClick/v1.0 schema)

Example payload:

{
    "uuid": "aeacafa8-64b6-4850-84c1-7be688e2d1fd",
    "timestamp": "2023-05-03T18:14:15.530851594Z",
    "buzTimestamp": "2023-05-03T18:14:15.530851594Z",
    "buzVersion": "v0.16.4",
    "buzName": "buz",
    "buzEnv": "prod",
    "protocol": "pixel",
    "schema": "io.silverton/buz/pixel/linkClick/v1.0.json",
    "vendor": "io.silverton",
    "namespace": "buz.pixel.linkClick",
    "version": "1.0",
    "isValid": true,
    "validationError": null,
    "payload": {
        "link": "dest-nats",
        "location": "README",
        "rto": "https://buz.dev/outputs/messageBus/nats",
        "source": "github"
    }
}
jakthom commented 1 year ago

@awmatheson here u go. 🐝 🍻

jakthom commented 1 year ago

@criccomini should we instrument recap? 😉