Skip to content

Commit

Permalink
chore(plugin-server): trigger ingestion deploy (#17900)
Browse files Browse the repository at this point in the history
  • Loading branch information
bretthoerner authored Oct 10, 2023
1 parent 17b6409 commit b497170
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion plugin-server/src/worker/ingestion/person-state.ts
Original file line number Diff line number Diff line change
Expand Up @@ -686,7 +686,8 @@ export class PersonState {

export function ageInMonthsLowCardinality(timestamp: DateTime): number {
const ageInMonths = Math.max(-Math.floor(timestamp.diffNow('months').months), 0)
// for getting low cardinality for statsd metrics tags, which can cause issues in e.g. InfluxDB: https://docs.influxdata.com/influxdb/cloud/write-data/best-practices/resolve-high-cardinality/
// for getting low cardinality for statsd metrics tags, which can cause issues in e.g. InfluxDB:
// https://docs.influxdata.com/influxdb/cloud/write-data/best-practices/resolve-high-cardinality/
const ageLowCardinality = Math.min(ageInMonths, 50)
return ageLowCardinality
}
Expand Down

0 comments on commit b497170

Please sign in to comment.