Skip to content

Commit ec02817

Browse files
apply feedback, change M&B color for top nav, remove discounts page
Signed-off-by: Diana <[email protected]>
1 parent a911482 commit ec02817

File tree

9 files changed

+17
-72
lines changed

9 files changed

+17
-72
lines changed

app/_assets/stylesheets/index.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,8 @@
110110
--color-operator-background: var(--color-semantic-blue-secondary);
111111
--color-api-products-brand: var(--color-semantic-orange-primary);
112112
--color-api-products-background: var(--color-semantic-orange-secondary);
113-
--color-metering-and-billing-brand: var(--color-semantic-grey-primary);
114-
--color-metering-and-billing-background: var(--color-semantic-grey-secondary);
113+
--color-metering-and-billing-brand: var(--color-semantic-orange-primary);
114+
--color-metering-and-billing-background: var(--color-semantic-orange-secondary);
115115
}
116116

117117
.dark {

app/_how-tos/get-started-with-metering-and-billing.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,10 @@ In {{site.metering_and_billing}}, meters track and record the consumption of a r
141141
In this guide, you'll enable API Gateway requests for metering. This will meter API request traffic in {{site.metering_and_billing}} so that you can charge customers for API traffic usage.
142142

143143
1. In the {{site.konnect_short_name}} sidebar, click **{{site.metering_and_billing}}**.
144-
1. Enable **API Gateway Requests**.
144+
1. In the API Gateway Requests settings, click **Enable Gateways**.
145+
1. Select the "quickstart" control plane.
146+
1. Click **Enable 1 Gateways**.
147+
145148

146149
## Create a feature
147150

app/_includes/konnect/metering-and-billing/discounts.md

Lines changed: 1 addition & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -14,44 +14,9 @@ rows:
1414
- discount: Percentage discount
1515
description: "Reduces price by a fixed percent across all usage."
1616
- discount: "[Usage discount](#usage-discounts)"
17-
description: "Provides discounts on the metered value."
17+
description: "Pricing applies only after the discounted usage value is reached. You can use this to define overage prices."
1818
- discount: Minimum spend
1919
description: "Guarantees a customer pays a specified amount, even if their usage is less. For example, if the minimum spend is set to $10, customers will pay $10 even if they only use $2 worth of the API or LLM token. The minimum spend line only appears on the invoice that includes the end of the line’s billing period."
2020
- discount: Maximum spend
2121
description: "Sets the maximum amount a customer will pay for a feature. For example, if maximum spend is set to $10, customers will only pay $10, even if they have a $100 worth of usage."
2222
{% endtable %}
23-
24-
### Usage discounts
25-
Usage discounts apply **only to usage-based line items** (not flat-fee prices).
26-
27-
The discount can be consumed across multiple invoices.
28-
The discount is applied until the total available discount amount is fully depleted.
29-
30-
For example:
31-
32-
A line has a 500-unit usage discount, and usage is billed in three parts:
33-
34-
* 300 units
35-
* 250 units
36-
* 100 units
37-
38-
The discount is applied progressively:
39-
40-
1. Invoice 1
41-
* Usage: 300
42-
* Discount applied: 300
43-
* Billed quantity: **0**
44-
* Remaining discount: **200**
45-
46-
1. Invoice 2
47-
* Usage: 250
48-
* Discount applied: 200
49-
* Billed quantity: **50**
50-
* Remaining discount: **0**
51-
52-
1. Invoice 3
53-
* Usage: 100
54-
* Discount applied: 0
55-
* Billed quantity: **100**
56-
57-

app/_includes/konnect/metering-and-billing/tax.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{{site.metering_and_billing}} automatically uses external services to calculate and add taxes to invoices. Currently, {{site.metering_and_billing}} supports [Stripe Tax](https://stripe.com/tax).
1+
{{site.metering_and_billing}} doesn't calculate taxes itself. Instead, it configures external services to do so with Product Catalog. Currently, {{site.metering_and_billing}} supports [Stripe Tax](https://stripe.com/tax).
22

33
{{site.metering_and_billing}} supports the following tax settings:
44

app/konnect-platform/teams-and-roles.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ columns:
201201
key: description
202202
rows:
203203
- role: "`Ingest`"
204-
description: "Ingests events only (intended for the {{site.konnect_short_name}} access token level only)."
204+
description: "Ingests events only (intended only for machines)."
205205
- role: "`Admin`"
206206
description: "Can read and write every resource. Includes billing apps, billing profiles, and notifications."
207207
- role: "`Viewer`"

app/metering-and-billing/billing-invoicing-subscriptions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,9 +129,9 @@ rows:
129129
{% endtable %}
130130
<!--vale on-->
131131

132-
### Gathered invoices
132+
### Gathering invoices
133133

134-
To enable threshold billing scenarios, {{site.metering_and_billing}} creates gathered invoices with upcoming charges for the next billing cycle. These invoices show current pending charges for the user's current billing period in real-time when fetched or viewed, providing visibility into accruing usage before the final invoice is issued.
134+
{{site.metering_and_billing}} gathers invoices with upcoming charges for the active running billing cycle. These invoices show current pending charges for the user's current billing period in real-time when fetched or viewed, providing visibility into accruing usage before the final invoice is issued.
135135

136136
Gathering invoices are automatically deleted when the last item for a subscription has been billed for.
137137

app/metering-and-billing/discounts.md

Lines changed: 0 additions & 22 deletions
This file was deleted.

app/metering-and-billing/metering.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ Each generic meter is comprised from the following attributes:
5151
* Value type: The JSON path to the property that contains the value to be metered. This is optional when the aggregation is `COUNT`.
5252
* Aggregation type: The [aggregation type](#aggregation-types) to use for the meter.
5353
* Group by: (Optional) A map of JSON paths to group the metered data by.
54-
* Window size: The size of the time window to use for the meter. This is optional and defaults to `MINUTE`.
5554

5655
## Aggregation types
5756

@@ -66,12 +65,12 @@ columns:
6665
- title: Description
6766
key: description
6867
rows:
69-
- aggregation_type: SUM
70-
description: "The `SUM` aggregation type calculates the total sum of the metered values for a specific time window. This is useful for accumulating metrics like total API calls made, total data transferred, LLM tokens used or total time spent on a service."
7168
- aggregation_type: COUNT
72-
description: "The `COUNT` aggregation type counts the number of events that occur within a specific time window. This is often used for metrics that are inherently countable, such as the number of transactions processed. The COUNT aggregation type does not require a valueProperty to be defined."
69+
description: "The `COUNT` aggregation type counts the number of events that occur within a specific time window. This is often used for metrics that are inherently countable, such as the number of transactions processed or API calls made. The `COUNT` aggregation type doesn't have the `valueProperty`."
70+
- aggregation_type: SUM
71+
description: "The `SUM` aggregation type calculates the total sum of the metered values for a specific time window. `SUM` aggregates over the events `valueProperty`. This is useful for accumulating metrics like total LLM tokens used, total data transferred, or total time spent on a service."
7372
- aggregation_type: UNIQUE COUNT
74-
description: "The `UNIQUE_COUNT` aggregation type counts the number of unique events. This is useful when events are unique by a specific field. The valueProperty defines the field that makes the ingested event unique. The property's value in the ingested event must be a string or number."
73+
description: "The `UNIQUE_COUNT` aggregation type counts the number of unique events. This is useful when events are unique by a specific field. The `valueProperty` defines the field that makes the ingested event unique. The property's value in the ingested event must be a string or number."
7574
- aggregation_type: LATEST
7675
description: "The `LATEST` aggregation type returns the latest value for a specific time window. This is useful for when you track the size of a resource on your own and report periodically the value of it to {{site.metering_and_billing}}. For example disk size, number of resources or seats. The latest aggregation takes the last value reported for the period."
7776
- aggregation_type: MIN

app/metering-and-billing/product-catalog.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ related_resources:
2323
{{site.konnect_short_name}} {{site.metering_and_billing}}'s Product Catalog lets you centrally define the different plans and plan features that make up your offering—so you can manage pricing, entitlements, and packaging in one place.
2424

2525
Each Product Catalog plan consists of:
26-
* [Features](#features) that are associated with a meter
26+
* [Features](#features) that you want to price or govern. Can be metered or static.
2727
* [Rate cards](#rate-cards) that determine which features ([entitlements](#entitlements)) and how much of the feature a subscriber can access ([pricing models](#pricing-models))
2828
* Optional [add-ons](#add-ons) that allow customers to purchase additional usage or features on demand
2929

@@ -65,7 +65,7 @@ flowchart TB
6565

6666
Features are part of your product offering and the building blocks of your plans and entitlements. They are the resource you want to govern and invoice for. For example, LLM Models, tokens, storage units. Features are associated with a meter, so that you can connect usage to a feature that you can then charge for.
6767

68-
Features are the building blocks of your product offering, they represent the various capabilities of your system. Practically speaking, they typically translate to line items on your pricing page.
68+
Features are the building blocks of your product offering, they represent the various capabilities of your system. Practically speaking, they typically translate to line items on your pricing page and show up on the invoice.
6969

7070
The feature set between plans can vary in terms of what features are available, what configurations are available for a given feature, and what usage limits are enforced.
7171

0 commit comments

Comments
 (0)