pub struct PackFormulaAnalyticsMetrics {Show 24 fields
pub date: NaiveDate,
pub docs_actively_using: i64,
pub docs_actively_using30_day: i64,
pub docs_actively_using7_day: i64,
pub docs_actively_using90_day: i64,
pub docs_actively_using_all_time: i64,
pub errors: i64,
pub formula_invocations: i64,
pub median_latency_ms: Option<i64>,
pub median_response_size_bytes: Option<i64>,
pub revenue_usd: Option<String>,
pub workspaces_actively_trialing: Option<i64>,
pub workspaces_actively_trialing30_day: Option<i64>,
pub workspaces_actively_trialing7_day: Option<i64>,
pub workspaces_actively_trialing90_day: Option<i64>,
pub workspaces_actively_trialing_all_time: Option<i64>,
pub workspaces_actively_using: i64,
pub workspaces_actively_using30_day: i64,
pub workspaces_actively_using7_day: i64,
pub workspaces_actively_using90_day: i64,
pub workspaces_actively_using_all_time: i64,
pub workspaces_newly_subscribed: Option<i64>,
pub workspaces_with_active_subscriptions: Option<i64>,
pub workspaces_with_successful_trials: Option<i64>,
}
Expand description
Analytics metrics for a Coda Pack formula.
JSON schema
{
"description": "Analytics metrics for a Coda Pack formula.",
"type": "object",
"required": [
"date",
"docsActivelyUsing",
"docsActivelyUsing30Day",
"docsActivelyUsing7Day",
"docsActivelyUsing90Day",
"docsActivelyUsingAllTime",
"errors",
"formulaInvocations",
"workspacesActivelyUsing",
"workspacesActivelyUsing30Day",
"workspacesActivelyUsing7Day",
"workspacesActivelyUsing90Day",
"workspacesActivelyUsingAllTime"
],
"properties": {
"date": {
"description": "Date of the analytics data.",
"examples": [
"2020-09-02"
],
"type": "string",
"format": "date"
},
"docsActivelyUsing": {
"description": "Number of unique docs that have invoked a formula
from this Pack in the past day.",
"examples": [
50
],
"type": "integer"
},
"docsActivelyUsing30Day": {
"description": "Number of unique docs that have invoked a formula
from this Pack in the past 30 days.",
"examples": [
200
],
"type": "integer"
},
"docsActivelyUsing7Day": {
"description": "Number of unique docs that have invoked a formula
from this Pack in the past 7 days.",
"examples": [
100
],
"type": "integer"
},
"docsActivelyUsing90Day": {
"description": "Number of unique docs that have invoked a formula
from this Pack in the past 90 days.",
"examples": [
300
],
"type": "integer"
},
"docsActivelyUsingAllTime": {
"description": "Number of unique docs that have invoked a formula
from this Pack ever.",
"examples": [
500
],
"type": "integer"
},
"errors": {
"description": "Number of errors from invocations.",
"examples": [
5
],
"type": "integer"
},
"formulaInvocations": {
"description": "Number of times this formula has been invoked.",
"examples": [
123
],
"type": "integer"
},
"medianLatencyMs": {
"description": "Median latency of an invocation in milliseconds.
Only present for daily metrics.",
"examples": [
500
],
"type": "integer"
},
"medianResponseSizeBytes": {
"description": "Median response size in bytes. Only present for
daily metrics.",
"examples": [
300
],
"type": "integer"
},
"revenueUsd": {
"description": "Amount of revenue (in USD) that the Pack has
produced.",
"type": "string"
},
"workspacesActivelyTrialing": {
"description": "Number of unique workspaces that are currently
involved in a trial.",
"type": "integer"
},
"workspacesActivelyTrialing30Day": {
"description": "Number of unique workspaces that have been involved
in a trial in the last 30 days.",
"type": "integer"
},
"workspacesActivelyTrialing7Day": {
"description": "Number of unique workspaces that have been involved
in a trial in the last 7 days.",
"type": "integer"
},
"workspacesActivelyTrialing90Day": {
"description": "Number of unique workspaces that have been involved
in a trial in the last 90 days.",
"type": "integer"
},
"workspacesActivelyTrialingAllTime": {
"description": "Number of unique workspaces that have been involved
in a trial ever.",
"type": "integer"
},
"workspacesActivelyUsing": {
"description": "Number of unique workspaces that have invoked a
formula from this Pack in the past day.",
"examples": [
10
],
"type": "integer"
},
"workspacesActivelyUsing30Day": {
"description": "Number of unique workspaces that have invoked a
formula from this Pack in the past 30 days.",
"examples": [
20
],
"type": "integer"
},
"workspacesActivelyUsing7Day": {
"description": "Number of unique workspaces that have invoked a
formula from this Pack in the past 7 days.",
"examples": [
15
],
"type": "integer"
},
"workspacesActivelyUsing90Day": {
"description": "Number of unique workspaces that have invoked a
formula from this Pack in the past 90 days.",
"examples": [
30
],
"type": "integer"
},
"workspacesActivelyUsingAllTime": {
"description": "Number of unique workspaces that have invoked a
formula from this Pack ever.",
"examples": [
50
],
"type": "integer"
},
"workspacesNewlySubscribed": {
"description": "Number of unique workspaces that have recently
subscribed to the Pack.",
"type": "integer"
},
"workspacesWithActiveSubscriptions": {
"description": "Number of unique workspaces that are currently
subscribed to the Pack.",
"type": "integer"
},
"workspacesWithSuccessfulTrials": {
"description": "Number of unique workspaces that subscribed after
undertaking a Pack trial.",
"type": "integer"
}
},
"additionalProperties": false,
"x-schema-name": "PackFormulaAnalyticsMetrics"
}
Fields§
§date: NaiveDate
Date of the analytics data.
docs_actively_using: i64
Number of unique docs that have invoked a formula from this Pack in the past day.
docs_actively_using30_day: i64
Number of unique docs that have invoked a formula from this Pack in the past 30 days.
docs_actively_using7_day: i64
Number of unique docs that have invoked a formula from this Pack in the past 7 days.
docs_actively_using90_day: i64
Number of unique docs that have invoked a formula from this Pack in the past 90 days.
docs_actively_using_all_time: i64
Number of unique docs that have invoked a formula from this Pack ever.
errors: i64
Number of errors from invocations.
formula_invocations: i64
Number of times this formula has been invoked.
median_latency_ms: Option<i64>
Median latency of an invocation in milliseconds. Only present for daily metrics.
median_response_size_bytes: Option<i64>
Median response size in bytes. Only present for daily metrics.
revenue_usd: Option<String>
Amount of revenue (in USD) that the Pack has produced.
workspaces_actively_trialing: Option<i64>
Number of unique workspaces that are currently involved in a trial.
workspaces_actively_trialing30_day: Option<i64>
Number of unique workspaces that have been involved in a trial in the last 30 days.
workspaces_actively_trialing7_day: Option<i64>
Number of unique workspaces that have been involved in a trial in the last 7 days.
workspaces_actively_trialing90_day: Option<i64>
Number of unique workspaces that have been involved in a trial in the last 90 days.
workspaces_actively_trialing_all_time: Option<i64>
Number of unique workspaces that have been involved in a trial ever.
workspaces_actively_using: i64
Number of unique workspaces that have invoked a formula from this Pack in the past day.
workspaces_actively_using30_day: i64
Number of unique workspaces that have invoked a formula from this Pack in the past 30 days.
workspaces_actively_using7_day: i64
Number of unique workspaces that have invoked a formula from this Pack in the past 7 days.
workspaces_actively_using90_day: i64
Number of unique workspaces that have invoked a formula from this Pack in the past 90 days.
workspaces_actively_using_all_time: i64
Number of unique workspaces that have invoked a formula from this Pack ever.
workspaces_newly_subscribed: Option<i64>
Number of unique workspaces that have recently subscribed to the Pack.
workspaces_with_active_subscriptions: Option<i64>
Number of unique workspaces that are currently subscribed to the Pack.
workspaces_with_successful_trials: Option<i64>
Number of unique workspaces that subscribed after undertaking a Pack trial.
Trait Implementations§
Source§impl Clone for PackFormulaAnalyticsMetrics
impl Clone for PackFormulaAnalyticsMetrics
Source§fn clone(&self) -> PackFormulaAnalyticsMetrics
fn clone(&self) -> PackFormulaAnalyticsMetrics
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more