mirror of
https://github.com/langgenius/dify.git
synced 2026-01-13 21:57:48 +08:00
fix(amplitude): update sessionReplaySampleRate default value to 0.5 (#30880)
Co-authored-by: CodingOnStar <hanxujiang@dify.ai>
This commit is contained in:
parent
9ee71902c1
commit
8f43629cd8
@ -54,7 +54,7 @@ const pageNameEnrichmentPlugin = (): amplitude.Types.EnrichmentPlugin => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const AmplitudeProvider: FC<IAmplitudeProps> = ({
|
const AmplitudeProvider: FC<IAmplitudeProps> = ({
|
||||||
sessionReplaySampleRate = 1,
|
sessionReplaySampleRate = 0.5,
|
||||||
}) => {
|
}) => {
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
// Only enable in Saas edition with valid API key
|
// Only enable in Saas edition with valid API key
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user