AcademySoftwareFoundation / AcademySoftwareFoundation/rez

add exta fields to context tracking amqp payload

Open
#535 3 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
1.1k
Forks
369
Avg merge
12d 3h
Merged PRs (30d)
5

Description

**timestamp**:
Currently, if one were to write a daemon to consume rez context tracking AMQP messages (to dump into ELK for eg), there is no way to know the original timestamp indicating the actual resolve time. I believe RabbitMQ does have a plugin available to add this info into the message; however, rez does also publish these payloads in a separate thread, so even the message publish time does not necessarily reflect the actual resolve time.

**command**:
At method we're finding that we can spot old packages being used, but we can't tell where from. Having rez able to include the command in the payload would be useful. Given that rez-env is often run as a subproc (for us anyway, in our render farm), it may be necessary to store the command for each ancestor proc also.

Contributor guide

Open the contributing guide

Research direction

Start by tracing the context tracking AMQP payload publishing and the rez-env subprocess handling described in the issue. Determine how resolve time and command provenance are currently captured. Done means payloads include the original resolve timestamp and the command context, including ancestor processes if required.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, rabbitmq
Domain
backend, distributed-systems
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.