Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Instrument readme #562

Merged
merged 2 commits into from
May 3, 2023
Merged

Instrument readme #562

merged 2 commits into from
May 3, 2023

Conversation

jakthom
Copy link
Contributor

@jakthom jakthom commented May 3, 2023

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
Copy link
Contributor Author

jakthom commented May 3, 2023

@awmatheson here u go. 🐝 🍻

@jakthom
Copy link
Contributor Author

jakthom commented May 3, 2023

@criccomini should we instrument recap? 😉

@jakthom jakthom merged commit 0fa8a5f into main May 3, 2023
@jakthom jakthom deleted the instrument-readme branch May 3, 2023 18:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant