Go to file
Bel LaPointe a7d5d021d6 fill model 2024-04-16 05:51:08 -06:00
model fill model 2024-04-16 05:51:08 -06:00
testdata/slack_events
.gitignore
.report.go
.report.tmpl
.report_test.go
README.md class diagram pretty 2024-04-15 21:04:54 -06:00
ai.go
ai_test.go t.Parallel pls 2024-04-15 16:35:51 -06:00
config.go wip normalize 2024-04-15 17:09:31 -06:00
config_test.go t.Parallel pls 2024-04-15 16:35:51 -06:00
driver.go sql :memory: dont work so make a helper NewTestDriver 2024-04-15 16:34:19 -06:00
driver_test.go t.Parallel pls 2024-04-15 16:35:51 -06:00
go.mod
go.sum
main.go wip normalize 2024-04-15 17:09:31 -06:00
main_test.go t.Parallel pls 2024-04-15 16:35:51 -06:00
message.go
message_test.go t.Parallel pls 2024-04-15 16:35:51 -06:00
normalize.go wip normalize 2024-04-15 17:09:31 -06:00
normalize_test.go wip normalize 2024-04-15 17:09:31 -06:00
persistence.go test message to persistence 2024-04-15 17:00:15 -06:00
persistence_test.go test message to persistence 2024-04-15 17:00:15 -06:00
pipeline.go
pipeline_test.go t.Parallel pls 2024-04-15 16:35:51 -06:00
queue.go
queue_test.go t.Parallel pls 2024-04-15 16:35:51 -06:00
slack.go t.Parallel pls 2024-04-15 16:35:51 -06:00
slack_test.go t.Parallel pls 2024-04-15 16:35:51 -06:00

README.md

Spoc Bot v. Render

Thank you, Sean

TODO

  • to class design for joins and external tables
  • dedupe multi channels
  • add Team to Message
  • from sync ingest to ingestQueue that retries a few times so user messages can find parent
  • limit queue retries
  • share postgres with Grafana
  • new dash in Grafana
  • what SLO/SLI can I help benoit with
  • break into smaller goals
  • sell to the team
  • scott; like to keep state in incident.io and zendesk
erDiagram
%% thread event eventName
  EVENT ||--|{ THREAD: "spawns"
  THREAD ||--|{ MESSAGE: "populated by"

  MESSAGE {
    ID str
    URL str
    TS number
    Plaintext str
  }
  THREAD {
    ID str
    URL str
    Channel str
  }
  EVENT {
    ID str
    Name str
    Asset str
    Resolved bool
    Datacenter str
  }