Skip to content

Commit

Permalink
Merge pull request #1752 from vrk-kpa/AV-1857_enable_api_analytics_tr…
Browse files Browse the repository at this point in the history
…acking

Add ignored user agent to health check in cdk
  • Loading branch information
Zharktas authored Nov 17, 2022
2 parents ec71946 + 3862473 commit 9d3767c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cdk/lib/ckan-stack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ export class CkanStack extends Stack {
streamPrefix: 'ckan-service',
}),
healthCheck: {
command: ['CMD-SHELL', 'curl --fail http://localhost:5000/api/3/action/status_show || exit 1'],
command: ['CMD-SHELL', 'curl --fail http://localhost:5000/api/3/action/status_show --user-agent "docker-healthcheck" || exit 1'],
interval: Duration.seconds(15),
timeout: Duration.seconds(5),
retries: 5,
Expand Down

0 comments on commit 9d3767c

Please sign in to comment.