Skip to content

Conversation

@whynowy
Copy link
Member

@whynowy whynowy commented Feb 2, 2021

Signed-off-by: Derek Wang [email protected]

Closes #204

Checklist:

Signed-off-by: Derek Wang <[email protected]>
Signed-off-by: Derek Wang <[email protected]>
@whynowy whynowy requested a review from alexec February 9, 2021 01:41
continue
}
wg.Add(1)
e.metrics.IncRunningServices(server.GetEventSourceName())
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

move one line down so code change cannot create regression?

docs/metrics.md Outdated
### EventSource
- `event_service_running_total` - How many configured events in the EventSource
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can I ask for a section state which metrics is which Golden Metric?

docs/metrics.md Outdated
### EventSource
- `event_service_running_total` - How many configured events in the EventSource
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

in Argo Workflow the Prometheus HELP contains deep-links to the docs, you could do this same here, allowing you to change the help with a release

@whynowy whynowy requested a review from alexec February 12, 2021 23:01
docs/metrics.md Outdated

- Saturation

- TBD.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is probably covered by out of the box Kubernetes metrics such as CPU or memory (RSS)

docs/metrics.md Outdated

- Latency

- TBD.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"The time it takes to service a request. "

What is a request in events?

  • Event Source - the time from getting event to send message to EventBus?
  • EventBus - the time from receive a NATS message to dispatching it?
  • Sensor - the time from receiving event to getting trigger finishing?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Added the latency for Sensor triggering actions.
  • Event Source latency would be added in future PRs as it requires to make code change to every event source implementation.
  • EventBus latency needs further investigation - we could not calculate it from the clients side (when eventsource sends it, and when sensor receives it), but should look into if NATS exposes this kind of metrics, I haven't seen it so far, need more research.

@whynowy whynowy requested a review from alexec February 22, 2021 23:24
Copy link
Contributor

@alexec alexec left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please set-up 20m


> v1.3 and after
## User Metrics
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"system" or "default metrics"?

#### argo_events_event_processing_duration_milliseconds
Event processing duration (from getting the event to send it to EventBus) in
milliseconds - TBD.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TBD?

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.

Expose prometheus metrics in sensors and eventsources

2 participants